Abstract classes An abstract class is a class which decleared with key word abstract.An abstract class can or canot have an abstract method.Abstract classes cannot be instantiated, but they can be subclassed.
Interface an interface is a group of related methods with empty bodies
Abstract classes
ReplyDeleteAn abstract class is a class which decleared with key word abstract.An abstract class can or canot have an abstract method.Abstract classes cannot be instantiated, but they can be subclassed.
Interface
an interface is a group of related methods with empty bodies
This is regarding Dinidu's idea;
ReplyDelete"an interface is a group of related methods with empty bodies" means "ABSTRACT". Here in interfaces methods are abstract by default..
Good!
What else you can find?