Close
Close

javas code teachercreates two Date objects to represent an Teacher’s birthday and hire date, respectively. Creates an Teacher and initializes its ins

   12345678mg

Class TeacherTest creates two Date objects to represent an Teacher’s birthday and hire date, respectively. Creates an Teacher and initializes its instance variables by passing to the constructor two Strings (representing the Teachers first and last names) and two Date objects (representing the birthday and hire date). implicitly invokes the Teacher toString method to display the values of its instance variables and demonstrate that the object was initialized properly.


Answers

Ask Yours
Post Yours
Write your answer