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
What is the difference between menuitem and checkboxmenu item?
Difference between error and exception
What is exception hierarchy in java?
What is meant by singleton class?
Can you create an object of an abstract class?
What occurs when an object is constructed?
What is a subsequence of a string?
What is the SimpleTimeZone class?
What is threaded programming and when is it used? : Java thread
What are the different types of sorting in java?
Why are the destructors for base class and derived class called in reverse order when the program exits
Is 0 a prime number?
I want to persist data of objects for later use. What’s the best approach to do so?
What is meant by method?
What is the difference between yield() and sleep()?