If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface?
Answer Posted / pravin
If you are making methods as abstract other restictions of
and difference is as it is like about modifiers[private, final, transient, volatile]
when condition is like your class extends other class [like JFrame or any such condition]then you cant use abstract class you must go to the interfaces.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is natural ordering in java?
What is the difference between jvm and jre? What is an interface?
How static variable work in java?
What is tostring () method?
Can we convert list to set in java?
What does int argc char * argv [] mean?
Describe the process as to how substring() methodology mechanisms in java.
What is stringreader?
What are the types of sockets in java?
What is bufferedwriter?
What does n mean?
What is a flag and how does it work?
Is null in java?
Is c better than java?
What is r * in math?