What is base class example?

Techopedia Explains Base Class A class derived from a base class inherits both data and behavior. For example, “vehicle” can be a base class from which “car” and “bus” are derived . Cars and buses are both vehicles, but each represents its own specialization of the vehicle base class.29 Ağu 2011

Sizin İçin Seçtik  What is base class and child class in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *