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 java objectoutputstream?
whatis Home interface and Remoteinterface? with example?
Explain the available thread states in a high-level?
What are constants?
Where we write javascript code in html page?
How will you invoke any external process in java?
What is java in layman terms?
What is java used for?
Which is the best sorting technique in java?
How many techniques can be employed to create a string object?
Can one thread block the other thread?
What is treeset in java?
Differences between traditional programming language and object oriented programming language?
What is :: operator in java 8?
Why destructor is not used in java?