@@ -0,0 +1,1239 @@
+package br.com.infnet.disciplina;%0A%0Aimport br.com.infnet.professor.Professor;%0A%0Apublic class Disciplina %7B%0A%09// Private para proteger e fica restrito a est%C3%A1 classe%0A%09private String%09%09nome;%0A%09private String%09%09horario;%0A%09private Professor %09professor;%0A%09private float%5B%5D %09notas = new float%5B3%5D;%0A%09%0A%09// Cria disciplina%0A%09public static Disciplina criaDisciplina(String nome, String horario, Professor professor, float nota1, float nota2, float nota3)%7B%0A%09%09// Instancia a classe%0A%09%09Disciplina d = new Disciplina();%0A%09%09// Salva%0A%09%09d.setNome(nome);%0A%09%09d.setHorario(horario);%0A%09%09d.setProfessor(professor);%0A%09%09d.setNotas(nota1, 0);%0A%09%09d.setNotas(nota2, 1);%0A%09%09d.setNotas(nota3, 2);%0A%09%09return d;%0A%09%7D%0A%09%0A%09// Public para poder ser acessivel por qualquer um%0A%09public String getNome() %7B%0A%09%09return nome;%0A%09%7D%0A%0A%09public void setNome(String nome) %7B%0A%09%09this.nome = nome;%0A%09%7D%0A%0A%09public String getHorario() %7B%0A%09%09return horario;%0A%09%7D%0A%0A%09public void setHorario(String horario) %7B%0A%09%09this.horario = horario;%0A%09%7D%0A%0A%09public Professor getProfessor() %7B%0A%09%09return professor;%0A%09%7D%0A%0A%09public void setProfessor(Professor professor) %7B%0A%09%09this.professor = professor;%0A%09%7D%0A%0A%09public float getNotas(int indice) %7B%0A%09%09return notas%5Bindice%5D;%0A%09%7D%0A%0A%09public void setNotas(float notas, int indice) %7B%0A%09%09this.notas%5Bindice%5D = notas;%0A%09%7D%0A%0A%7D%0A

Create disciplina.java