Programming Exercises: Object-Oriented Design with Java, Lab Reports of Advanced Education

The source code and results for four Java programming exercises. Students are expected to design classes for Person, Child, Book, GoldenEditionBook, Human, Student, Worker, and Contracts. The exercises aim to help students understand object-oriented design and programming concepts.

Typology: Lab Reports

2021/2022

Uploaded on 09/29/2022

phan-minh-tien-fgw-dn
phan-minh-tien-fgw-dn 🇻🇳

4.7

(12)

47 documents

1 / 14

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Exercise 1:
Source Code:
Class Person
Class Child:
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Programming Exercises: Object-Oriented Design with Java and more Lab Reports Advanced Education in PDF only on Docsity!

Exercise 1: Source Code: Class Person Class Child:

Class Program:

Class GoldenEditionBook:

Class Program: Result:

Class Student:

Class Worker:

Results: Exercise 4: Source Code: Class Constracts:

Class Program: Results: