Jan 12th, 2021
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.ArrayList;
  2. public class Student {
  3. public static void main(String[] args) {
  4.  ArrayList studentNames = new ArrayList(); addStudents(studentNames);
  5.  }//end method main
  6. static void addStudents(ArrayList studentNames) {
  7.  //Add the names of everyone in your class
  8. studentNames.add("Mark");
  9. studentNames.add("Andrew");
  10. studentNames.add("Beth");
  11.  . . .
  12. }//end method addStudents
  13. }//end class Student
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.