If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface?
Answer Posted / ravi
if all the methods are abstract in abstract class,then the
only difference left is,,,,
interface can have static and final variables with public
and abstract access modifier only ,,,while abstract class
can have any type of variable with any type of access
modifiers
Is This Answer Correct ? | 30 Yes | 3 No |
Post New Answer View All Answers
How do you sort a set in java?
What do you mean by buffering?
How to check if linked list contains loop in java?
What is the primitive type byte?
What do you understand by private, protected and public?
What is super in java?
What is an object's lock and which object's have locks in java programming?
What are the important features of Java 9 release?
What is qualitative variable?
What is the relationship difference the canvas class and the graphics class?
is it possible to instantiate the math class?
What is entry set in java?
what do you mean by classloader in java?
Explain polymorphism citing an example.
What do u mean by variable?