Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class StudentTestDrive {
- public static void main(String[] args) {
- final int a;
- Student petya = new Student("Petya", "8A");
- Student vasya = new Student("Vasya", "8A");
- Student ira = new Student("Irina", "8A");
- Teacher teacherHuicher = new Teacher();
- Student[] students = new Student[3];
- students[0] = petya;
- students[1] = vasya;
- students[2] = ira;
- teacherHuicher.commentingOnResults(students);
- }
- }
Add Comment
Please, Sign In to add comment