American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Intro To Java – Roland

May 15 @ 7:00 pm - 8:00 pm

Gamas Sub

Today We Did
  1. We continued about SchoolSystem
  2. We learned about Map and HashMap.
    1. We created Address class.
    2. We created May15HashMapTutorial.java
Homework
  1. Continue with SchoolSystem. Add the following features
    1. Add method addSomeTeachers(). This is very similar with addSomeStudents().
    2. In findTeacher, it has to be case in sensitive.
    3. Add list all teachers.
  2. You want to add Map<String, Student> in your SchoolSystem.
    1. Create Map<String, Student> studentMap = new HashMap<>(); This is very similar to Map<String, Address> that we did in the class.
    2. Inside addSomeStudents() method, add the 3 students into the studentMap.
    3. Add “9. Find student using Map”. This is very similar to findAddressByName() which we did in the class.
      9. Find student using Map
      99. Exit

Details

Date:
May 15
Time:
7:00 pm - 8:00 pm
Verified by MonsterInsights