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
What is balanced tree in java?
What is argument in java?
What do the thread?class methods run() and start() do?
What is the purpose of javac exe?
How to make a non daemon thread as daemon?
What will happen if a thrown exception is not handled?
how to create daemon thread in java?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
Is void a return type?
Can you tell me range of byte?
Is nan false?
Can you sort a string in java?
What is unicode used for?
How many characters is 2 bytes?
What is the difference between a synchronized method and a synchronized block?