what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / hanu
Both are same in many ways ..Except
if we extend that particular abstract class, we should be
implemented all those abstract methods in that class.
In the case of interface, we can implement any numbber of
methods to that interface ..
| Is This Answer Correct ? | 13 Yes | 39 No |
Post New Answer View All Answers
Is there any sort function in java?
Why are lists ordered in java?
What is boolean keyword in java?
what is bmg file and how to create that files?what will it contailn?
what do you mean by classloader?
How do you add an element to a hashset in java?
What are the two basic ways in which classes that can be run as threads may be defined?
What do you meant by active and passive objects?
Do we need to manually write Copy Constructor?
What is abstract class? Explain
How are this() and super() used with constructors in java programming?
Can we cast any other type to boolean type with type casting?
How many bits is size_t?
What is a flag value?
How do you escape json?