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
Which class represents the socket that both the client and server use to communicate with each other?
Why string is immutable or final in java
Why is a string immutable?
What is the use of set in java?
Explain jdk, jre and jvm?
Explain static nested classes ?
How to print nodes of a Binary tree?
How do you compare two objects?
Write a method that will remove given character from the string?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
Why do we need hashmap in java?
Does hashset allow duplicates in java?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
Can you give names of Container classes?
What is rmi and steps involved in developing an rmi object?