American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6 PM – Intro To Java

June 17, 2021 @ 6:00 pm - 7:00 pm

  1. We continued learning about Java Map/HashMap:
    1. We learned how to check if a key exists inside a map by using “containsKey()”
    2. We enhanced SchoolApplication to use Map/HashMap to find teacher more efficiently: Look at https://drive.google.com/drive/u/0/folders/1r-lCQqSdCloTQeSJEs5lJxkqMzCBtokL for the most updated code.
  2. Homework:
    1. We did findTeacherUsingMap() in the class. Do the same thing for student
      1. Add studentMap as one of SchoolMainApplication.java class attribute.
      2. Inside createStudent(), add the new Student into studentMap map.
      3. Add findStudentUsingMap() method similar to findTeacherUsingMap().
      4. Use this findStudentUsingMap() when user choose option “3”, find student.

Details

Date:
June 17, 2021
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights