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
Is zero a positive integer?
Which is dependent variable?
What is multithreading in java?
Explain about member inner classes?
what is the final keyword denotes in java?
What is string value?
What is the epoch date?
What is the collection interface?
What do you mean by platform independence?
Does importing a package imports its sub-packages as well in java?
Why do we need data structure in java?
Can we use both this () and super () in a constructor?
What is the tradeoff between using an unordered array versus an ordered array?
What do you mean by append?
Can we call the run() method instead of start()?