What is the diff. b/w Interfaces & Abstract class?
Answer Posted / supriyo pal
There are three main differences between an interface and an abstract class:
• At the same time multiple interfaces can be implemented, but only extend one class
• an abstract class may have some method implementation (non-abstract methods, constructors, instance initializers and instance variables) and non-public members
• abstract classes may or may not be a little bit faster
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are methods of a class?
Explain the difference between private, public, package and protected in java?
How does multithreading take place on a computer with a single cpu in java programming?
What is a stack class in java ?
When object is created and destroyed?
What is the significance of java packages?
Why multiple inheritance is not supported by java?
What is difference between filereader and bufferedreader?
Why is a constant variable important?
Define inheritance?
Is java still relevant?
What is get () in java?
what do you mean by java annotations?
Can a private method be declared as static?
What are the object and class classes used for?