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 happens when a thrown exception is not handled?
What are loops in java? What are three types of loops?
Explain about java sdk?
What is the significance of java packages?
Write a method that will remove given character from the string?
What is the difference between equals() and == in java?
Does java allow overriding static methods ?
What are the advantages of compiled language?
What is the difference between interface & abstract class?
What is the difference between an if statement and a switch statement?
Can we declare array without size in java?
What does regex mean?
What is the driver class?
Write a program to search a number in the given list of numbers.
What is get () in java?