What is the difference between abstract class and interface?
Answer Posted / venu
A programer uses an abstract class when there are some
common features of the program shared by all the objects.
A programer uses an interface when all the features of the
program are implements differently for different objects.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between hashmap and hashtable in java?
What does the @override annotation do?
What is the use of flag?
What is the relationship between class and object?
What is an image buffer?
Can we extend singleton class?
Why char array is favored over string for the storage of passwords?
What is off heap memory?
What is included in core java?
What is difference between float and double?
What is the use of list in java?
explain the concept of virtual method invocation in polymorphism in detail?
How do you do absolute value in java?
What are the difference between string, string builder, and string buffer in java?
What is method overloading with type promotion?