Difference between Interface & Abstract class?

Answer Posted / abnish kumar rajput

Abstract class is a class with may having abstract methods
or not.Whereas Interface supports multiple inheritences of
classes note that java does not directly support this concept.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a constructor and a method?

568


What is externalizable?

617


What is final method?

582


Can we force garbage collector to run ?

572


What are the types of exceptions?

591






Why main method is called first in java?

543


How many types of string data types are there?

559


What language is java written?

538


What is array length in java?

523


What are the different types of collections in java?

526


Is void a data type?

538


What is abstract class constructor called?

569


What do you mean by multithreaded program?

552


How do you know if a value is nan?

568


Explain naming conventions for packages?

577