Wednesday, 23 January 2019

What is difference between Class And Interface

What is difference between Class And Interface?

Answer:

Class
is logical representation of object. It is collection of data and related sub procedures with defination.

Interface :

is also a class containg methods which is not having any definations.Class does not support multiple inheritance. But interface can support.

No comments:

Post a Comment