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
What is the latest version of java?
What are the 4 types of characters?
What are the difference between string, string builder, and string buffer in java?
Can I declare class as static or private?
What is a container in a gui?
What is character in data type?
What package is math in java?
What are streams in java 8?
Can we increase array size dynamically in java?
What is a static method in java?
What is the difference between double and float variables in java?
What are the advantages of arraylist over arrays?
Is arraylist ordered in java?
What are the disadvantages of object oriented programming?
What is the purpose of an interface?