what is main difference b/w abstract class and interface
Answer Posted / shikha sharma
1) Every method in interface class should be abstract, but
this is not necessary in abstract class.
2)abstract class is a class which must have at least one
abstract method.
interface is a class which having all abstract methods.By
default interface methods are public abstract.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the right data type to represent a price in java?
Difference between method overloading and overriding.
What are the new features in java 8?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What is an object in java and how is it created?
Can java arraylist hold different types?
What is java Applet?
What is java util function?
How does thread synchronization occurs inside a monitor?
What is scope & storage allocation of static, local and register variables? Explain with an example.
Explain the Propertie sof class?
What about main thread in java?
Is java good for beginners?
What is the difference between logical data independence and physical data independence?
What is <> used for in java?