sibelbd / person-vehicle-truck Goto Github PK
View Code? Open in Web Editor NEWA small program that demonstrates how objects can be used as parameters for other other objects and how polymorphism and inheritance work in Java using people, vehicles, and trucks.