Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public class Student {
  2. public int age; // age of student
  3. public int year; // class year
  4. public String firstname;
  5. public String lastname;
  6. public String sex;
  7. }
  8.  
  9.  
  10.  
  11. private Student students[];
  12.  
  13. students = new Student[100];
  14.  
  15. students[i].sex = "F";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement