What is the use of abstract keyword in Java?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Oxford, Lives in Oxford, UK.
Abstract classes cannot be instantiated, but they can be subclassed. In other words, a class that is declared with abstract keyword, is known as abstract class in java. It can have abstract(method without body) and non-abstract methods (method with body).Aug 24, 2009
2023-06-14 09:11:08
评论(499)
Helpful(122)
Helpful
Helpful(2)

Oliver Perez
QuesHub.com delivers expert answers and knowledge to you.
Abstract classes cannot be instantiated, but they can be subclassed. In other words, a class that is declared with abstract keyword, is known as abstract class in java. It can have abstract(method without body) and non-abstract methods (method with body).Aug 24, 2009