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
How do you write a scanner class in java?
What is identifier give example?
What is a variable and constant?
Which is faster call by value or call by reference?
Where is java located?
What are the access modifiers available in java?
What is the mapping mechanism used by java to identify IDL language?
What is Classloader in Java?
Can we restart a dead thread in java?
How can you traverse a linked list in java?
Explain when noclassdeffounderror will be raised ?
Tell me the latest versions in java related areas?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What is finalize() function in java?