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 are the types of exceptions?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
Explain creating threads by implementing runnable class?
What is callablestatement? How you can call stored procedure to pass in parameter?
what is bmg file and how to create that files?what will it contailn?
What is the difference between instanceof and isinstance?
Does java allow default arguments?
What is use of inner class in java?
what is ststic with example
What are measurable parameters?
What are the differences between the constructors and methods?
Which is better stringbuilder or stringbuffer?
What is the relationship between clipping and repainting under awt?
What are recursive functions?
What is scope & storage allocation of static, local and register variables? Explain with an example.