This code follows different types of inheritance while using the "setter" and "getter" function. This code collect's the pet's name, age, and type wherein the type of pet is only limited to cat, dog and bird.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool