| Java Arrays, Objects, Methods | CS 161 - Java |
Student aStudent; Student anotherStudent; Student yetAnotherStudent; ... aStudent = new Student(); aStudent.setName("Fred Flintstone"); anotherStudent = new Student(); anotherStudent.setName("Wilma Flintstone"); yetAnotherStudent = new Student(); yetAnotherStudent.setName("Barney Rubble");
We won't be covering the Collection classes in this course.java.util.Vector; java.util.Hashtable; java.util.LinkedList; java.util.HashMap; java.util.ArrayList;
|
jwd |