[POO] refactored aula06 to split between packages

This commit is contained in:
TiagoRG 2023-03-28 19:03:35 +01:00
parent e4ee35cb3c
commit d336440300
Signed by untrusted user who does not match committer: TiagoRG
GPG Key ID: DFCD48E3F420DB42
10 changed files with 17 additions and 14 deletions

View File

@ -6,11 +6,11 @@
* [Slides](https://github.com/TiagoRG/uaveiro-leci/tree/master/1ano/2semestre/poo/slides/POO_04_Herança.pdf) * [Slides](https://github.com/TiagoRG/uaveiro-leci/tree/master/1ano/2semestre/poo/slides/POO_04_Herança.pdf)
### Exercise List ### Exercise List
| Exercise Number | Files Name | | Exercise Number | Files Name |
|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1 | [PersonTest.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/PersonTest.java)<br/>[Person.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/Person.java)<br/>[Student.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/Student.java)<br/>[Professor.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/Professor.java)<br/>[Bolser.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/Bolser.java) | | 1 | [PersonTest.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ex1/PersonTest.java)<br/>[Person.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ex1/Person.java)<br/>[Student.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ex1/Student.java)<br/>[Professor.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ex1/Professor.java)<br/>[Bolser.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ex1/Bolser.java) |
| 2 | [Contact.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/Contact.java)<br/>[ContactList.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ContactList.java) | | 2 | [Contact.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ex2/Contact.java)<br/>[ContactList.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ex2/ContactList.java) |
| 3 | [Vector.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/Vector.java)<br/>[VectorTest.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/VectorTest.java) | | 3 | [Vector.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ex3/Vector.java)<br/>[VectorTest.java](https://github.com/TiagoRG/uaveiro-leci/blob/master/1ano/2semestre/poo/src/aula06/ex3/VectorTest.java) |
--- ---
*Pode conter erros, caso encontre algum, crie um* [*ticket*](https://github.com/TiagoRG/uaveiro-leci/issues/new) *Pode conter erros, caso encontre algum, crie um* [*ticket*](https://github.com/TiagoRG/uaveiro-leci/issues/new)

View File

@ -1,4 +1,4 @@
package aula06; package aula06.ex1;
import utils.DateYMD; import utils.DateYMD;

View File

@ -1,4 +1,4 @@
package aula06; package aula06.ex1;
import utils.DateYMD; import utils.DateYMD;

View File

@ -1,4 +1,4 @@
package aula06; package aula06.ex1;
import java.util.Scanner; import java.util.Scanner;
import utils.DateYMD; import utils.DateYMD;

View File

@ -1,4 +1,4 @@
package aula06; package aula06.ex1;
import utils.DateYMD; import utils.DateYMD;

View File

@ -1,4 +1,4 @@
package aula06; package aula06.ex1;
import utils.DateYMD; import utils.DateYMD;
import java.time.LocalDate; import java.time.LocalDate;

View File

@ -1,4 +1,6 @@
package aula06; package aula06.ex2;
import aula06.ex1.Person;
public class Contact { public class Contact {
private final int id; private final int id;

View File

@ -1,5 +1,6 @@
package aula06; package aula06.ex2;
import aula06.ex1.Person;
import utils.DateYMD; import utils.DateYMD;
import java.util.Scanner; import java.util.Scanner;

View File

@ -1,4 +1,4 @@
package aula06; package aula06.ex3;
public class Vector { public class Vector {
private int[] vector; private int[] vector;

View File

@ -1,4 +1,4 @@
package aula06; package aula06.ex3;
public class VectorTest { public class VectorTest {