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
Is it possible to write a regular expression to check if string is a number?
Explain the meaning of java applet.
What are different type of exceptions in java?
Why spring singleton is not thread safe?
Explain about the interpreter in java?
Why are arrays useful in java?
What is the use of System class?
What is a protected class in java?
Can you give names of Container classes?
What is lexicographically smallest string?
What is an i/o filter?
What is an array length?
What is thread life cycle in java?
Can an interface extend a class?
When is the finally clause of a try-catch-finally statement executed?