Answer Posted / anu mehra
abstract classes contain
1)abstract as well as non abstract method
2) to inherit we use extends keyword
Interface
1) all methods are abstract ,public and static
2) all variables are public , static and final
3) to inherit we use implements keyword
4) interface can extend another interface
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the concepts involved in Object Oriented programming.
How do you define social class?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What are the data types in oop?
program for insertion ,deletion,sorting in double link list
How oops is better than procedural?
What is the difference between inheritance and polymorphism?
What is inheritance in oop?
What is polymorphism and types?
What is the difference between static polymorphism and dynamic polymorphism?
Why is polymorphism used?
What is the difference between procedural programming and oops?
What is pointer in oop?
Can we override main method?
Why polymorphism is used in oops?