What is an abstract method ?

What is an abstract method ?

An abstract method does not have a body. It contains only method signature terminated by a semicolon instead of curly braces. Abstract method can be declared only within the abstract class or within the interfaces. The definition to the abstract method will be provided by the class which extends the abstract class or implements the interface.

Date:2015-01-09 00:00:00

Post Your Answers

User Email:

User Name:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher