January 2018
Intermediate to advanced
115 pages
1h 37m
English
An abstract class provides a partial implementation that other classes can build upon. When a class is declared abstract, it means it can contain incomplete methods that must be implemented in subclasses, in addition to normal class members. These methods are left unimplemented and only specify their signatures, while their bodies are replaced by semicolons:
If a class called Rectangle inherits from the abstract class Shape, Rectangle is then forced to override the abstract ...