Multiple-Inheritance with Burger-Bun-Patty
This program is a super basic multiple inheritance example with 3 classes. This is a burger making program where the burger maker extends buns class and buns class extends patty class.
CSE 4122
Object Oriented Design and Design Patterns LabAuthor
Akif Islam
Department of CSE, University of Rajshahi
[email protected]
Experiment 01
Demonstration of Multiple Inheritance in Java
Diagram
How to Run?
$javac BurgerMain.java
$java BurgerMain