The mechanism of deriving a new class from old class is called Inheritance. It allows the extension and reuse of existing code without having to re-write the code from scratch. Inheritance is the process by which, objects of one class acquire properties of another class.
Thank you for visiting us.
If you find any mistakes or if you want improve this answer, please leave a comment with this post.
Thank you for visiting us.
If you find any mistakes or if you want improve this answer, please leave a comment with this post.
No comments:
Post a Comment