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
Write a c++ program to display pass and fail for three student using static member function
What is the example of polymorphism?
What are properties in oop?
What is the real life example of polymorphism?
What do you mean by overloading?
What is the point of polymorphism?
What polymorphism means?
Why is oop useful?
What is meant by oops concept?
What is difference between oop and pop?
What is the difference between a constructor and a destructor?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What does and I oop and sksksk mean?
Which method cannot be overridden?
What is solid in oops?