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 is a prefix function.write down a code to compute prefix function.
What is the full name of java?
What is the importance of static variable?
How do you initialize an arraylist in java?
What is the difference between delete and delete[]
What is difference between local variable and global variable?
What kind of variables can a class consist?
What is a method vs function?
Explain the difference between abstract classes and interfaces in java?
List some java keywords sun like c, c + + keywords?
What is autoboxing and unboxing?
What is difference between array and vector?
What is method overloading in JAVA? Why is it not present in C ?
How many techniques can be employed to create a string object?
How is final different from finally and finalize?