Check out example codes for "diff between class and interface". It will help you in understanding the concepts better.

Code Example 1

A class describes the attributes and behaviors of an object .
An interface contains behaviors that a class implements.

Learn ReactJs, React Native from akashmittal.com