What is the diff. b/w Interfaces & Abstract class?
Answer Posted / lakshman
abstract class contains constructor,but interface does not.
abstract class supports all access specifier,but interface
supports only public
programmer is responsible to provide the subclass to
abstract class but interface left the implementation for the
third party vendors.
abstract class contains both abstract methods and concrete
methods but interface contains only abstract methods
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How we can generate random numbers in java?
What is string :: npos?
what is the purpose of using rmisecuritymanager in rmi?
Explain the meaning of java applet.
What is a singleton class in Java?
When a byte datatype is used?
Which command from the jdk compiles a java program?
Tell some latest versions in JAVA related areas?
What is the right data type to represent a price in java?
What is complexity and its types?
What is the difference between the final method and abstract method?
What is the difference between stringbuffer and stringbuilder class?
What is the difference between procedural and object-oriented programs?
What does split function do in java?
How will you reverse a link list without using recursion?