Home - AlbertProfe/Java_AppWeb_Spring_2021 GitHub Wiki
Welcome to the Java_AppWeb_Spring_2021 wiki!
The first step to creating our exercise. Just 5 classes:
- Clinica.java
- MainApplication.java
- MyDate.java
- Person.java
- Test.java
Test Class got two static methods to test: testObjects and testConstructorMethod
Now we are going to add some complexity, so we will have got 10 classes. Two branches of inherence: student and employee, under employee we will be got two more classes: teacher and doctor.
Test got two more static methods to test: testObjectsStudent and testUtilitiesInherence and a new Utilities class with three new utilities: printList, printListExtended and printListExtendedClassicArray
- Clinica.java
- Course.java
- Employee.java
- MainApplication.java
- MyDate.java
- Person.java
- Student.java
- Teacher.java
- Test.java
- Utilities.java
Now we are studying an intro to teacher <> course <> student relationship many to many, we are developing more and more course and teacher classes. We have got 11 classes because we have added one more class: Doctor, so far we will not use Doctor class.
We add a new static method to test: testObjectsCourse
- Clinica.java
- Course.java
- Doctor.java
- Employee.java
- MainApplication.java
- MyDate.java
- Person.java
- Student.java
- Teacher.java
- Test.java
- Utilities.java
We finish this exercise refactoring (just a while and a menu) MainApp to resemble MVC and adding the last feature: test clinic.
We add a new static method to test: testClinicaMembersArray
- Clinica.java
- Course.java
- Doctor.java
- Employee.java
- MainApplication.java
- MyDate.java
- Person.java
- Student.java
- Teacher.java
- Test.java
- Utilities.java