Class Student

java.lang.Object
com.zybooks.dsaj.design.Student
All Implemented Interfaces:
Person

public class Student extends Object implements Person
  • Constructor Details

  • Method Details

    • studyHours

      protected int studyHours()
    • getID

      public String getID()
    • getName

      public String getName()
      Specified by:
      getName in interface Person
    • getAge

      public int getAge()
      Specified by:
      getAge in interface Person
    • equals

      public boolean equals(Person other)
      Specified by:
      equals in interface Person
    • toString

      public String toString()
      Overrides:
      toString in class Object