what is difference between interface and abstract class..?
Answer Posted / kumar
Interface:
1)It will contain only abstract methods
Abstract Class:
1)Any class can be declared an abstract class ,but if a
class contains an abstract method it should be declared as
an abstract class.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is nan in java?
What is a Null object?
If an object is garbage collected, can it become reachable again?
Which package has light weight components?
Which is the best approach for creating thread ?
How do you compare objects in java?
Is java a compiler?
Is singleton thread safe in java?
Can inner class extend any class?
Can we change the value of static variable?
What are three ways in which a thread can enter the waiting state in java programming?
What is java util function?
Is a boolean 1 bit?
What is a bufferedreader?
What is character in data type?