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 does \ mean in regex?
When parseint method can be used?
Can we initialize the final blank variable?
What is the difference between superclass and subclass?
What are methods?
When is the garbage collection used in Java?
Is ruby built on java?
What are the two types of java?
What is the benefit of inner / nested classes ?
What is the difference between Error, defect,fault, failure and mistake?
What means public static?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
What is nullpointerexception in java?
What makes a function well defined?
How to display all the prime numbers between 1 and 100