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 java virtual machine and how it is considered in context of java’s platform independent feature?
Why main method is called first in java?
Why does java doesnt suuport unsigned values?
What is generic class?
What is java string pool?
What does flag mean in java?
What is re-factoring in software?
How do you stop a thread in java?
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }
Can you override private or static method in java?
What is static in java?
Explain the advantages of packages in java?
What is stringreader?
Can we override a variable in java?
What is a loop java?