Abstract method will have only the method declaration part in the class.It won’t have the method implentation.
The Implementation part of the abstract method will be available in some other class which the ‘extends’ the abstract method class.
If there is any one abstract method in class then that class will be declared as abstract class.
Sample program that makes understand the abstract
System.out.println(“Sample method Statement”);
abstract void get();
class abs extends a
System.out.println(“Statement in abstract method”);
public static void main(String ar)
abs d=new abs();
Statement in abstract method
Sample method Statement