Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How you can differentiate abstract class and interface?
There are some main difference between abstract and interface are given below:
1.In an abstract we can use sharable code where in the case of interface their is no facility to use sharable code.
2.In which class we implement an interface class. All method that we use should be defined in interface. Where as class those extending an abstract while a class extending an abstract class their is no need to defined methods
in the abstract class.