Checkpoint (WS)

Copy the code below, then modify it so that each student gets a unique, Id.

   Public class Student{

      static int nextId;

      static String School="Carmel Valley ";

      int id;

      String name;

      int currentLevel;

      Student (String name, int currentLevel){

          this.name = name;
          this.currentLevel = currentLevel; }

      public static void main(String[] args){

      //create 2 students.

      //print their names, ids and school. }}

       *Note: static variables belong to the class and other variables belong to instance.