Inheritance

•You can inherit other classes by pressing the key below in the class area. The inherit target class is called the parent class and the inheriting class is called the child class.

•In an class area that does not inherit other class, you can enter space bar to make them ancestor. Interfaces with only abstract functions and ancestors can be multi-inherit target.

•You can substitute a child class's reference or allocator for a parent class's reference or allocator.

•Outside of the class, only variables and functions in the public area are accessible, and children's objects have access to the public and protected areas.

Comments
* The email will not be published on the website.