Help the world stop coronavirus! Stay home!

Prev Next

Java / Abstract Class

What is an abstract method in Java?

An abstract method is a method without a body. You just declare method, without defining it and use abstract keyword in method declaration. All method declared inside Java Interface are by default abstract. Here is an example of an abstract method in Java.

public void abstract anExampleAbstractMethod();

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Enum

Comments & Discussions