Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Student {
- public int age; // age of student
- public int year; // class year
- public String firstname;
- public String lastname;
- public String sex;
- }
- private Student students[];
- students = new Student[100];
- students[i].sex = "F";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement