Update Bolsista.java
This commit is contained in:
parent
85aabf555e
commit
c0b1d78e34
1 changed files with 3 additions and 3 deletions
|
|
@ -3,8 +3,8 @@ public class Bolsista{
|
|||
private String projeto;
|
||||
private String orientador;
|
||||
|
||||
public Bolsista(String nome, int idade, String localNascimento, String curso, String matricula, int semestre, int ano, boolean bolsista, String projeto, String orientador){
|
||||
this.aluno = new Aluno(nome, idade, localNascimento, curso, matricula, semestre, ano, bolsista);
|
||||
public Bolsista(Aluno aluno, String projeto, String orientador){
|
||||
this.aluno = aluno;
|
||||
this.projeto = projeto;
|
||||
this.orientador = orientador;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue