diff between Abstract class Interfaces?

Answer Posted / latha

abstract class contains the abstract methods. these methods
contain the only declaration but no definition.

interface is the class which extends the many interfaces.
and the class implements the many interfaces

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1915


What are the features of oop?

837


What is a class in oop?

779


What is difference between polymorphism and inheritance?

818


Why is object oriented programming so hard?

830


What is the difference between inheritance and polymorphism?

805


What is overriding in oop?

793


Why do we need oop?

873


What is encapsulation in oop?

788


What is polymorphism programming?

853


What is the point of polymorphism?

775


What are classes oop?

795


What are the 3 principles of oop?

833


What are oops functions?

783


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1711