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 fail fast in java?
What are strings in physics?
What is an class?
Why java is a platform independent? Explain
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What is the size of int in 64-bit jvm?
What if static is removed from main method?
How to print an arraylist in java?
How many types of array are there?
What is hasnext in java?
What are the two types of exceptions in java? Which are the differences between them?
what is method reference in java 8?
What is the parse method in java?
Why do we use string?
What is a bufferedreader?