American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

9 AM – Intro To Java

January 24, 2021 @ 9:00 am - 10:00 am

  1. Homework:
    1. In School class add the following
      1. getInfo() – this method will return a combination of School Name and the type of school. For example, if this is Longden is the name and Elementary is the type, then getInfo() will return “Longden – Elementary”
      2. addTeacher(Teacher teacher) – this method will add a teacher to the School.teachers list.
      3. addStudent(Student student) – this method will add a student to the School.students list.
    2. In SchoolMainApplication
      1. Add code so when the user enters “4”, it will do the following
        1. use for loop to go through each School inside schools list.
        2. for each of the school, call getInfo() method and print the return value to the Shell.

Details

Date:
January 24, 2021
Time:
9:00 am - 10:00 am
Event Categories:
,