Update Bolsista.java

This commit is contained in:
Caio Espindola 2026-06-12 10:44:26 -03:00 committed by GitHub
parent 85aabf555e
commit c0b1d78e34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,8 +3,8 @@ public class Bolsista{
private String projeto; private String projeto;
private String orientador; 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){ public Bolsista(Aluno aluno, String projeto, String orientador){
this.aluno = new Aluno(nome, idade, localNascimento, curso, matricula, semestre, ano, bolsista); this.aluno = aluno;
this.projeto = projeto; this.projeto = projeto;
this.orientador = orientador; this.orientador = orientador;
} }
@ -72,4 +72,4 @@ public class Bolsista{
public void setOrientador(String orientador){ public void setOrientador(String orientador){
this.orientador = orientador; this.orientador = orientador;
} }
} }