American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

10 AM – Intro To Java

August 7, 2021 @ 10:00 am - 11:00 am

Today We Do
  1. We continued with SchoolApplication.
  2. We created Teacher class
  3. We added Add New Student feature and added into the List of students.
Homework
  1. Add code to do “2. Add a teacher”. Store the newly added teacher to a List<Teacher> new attribute. This feature is very similar to “1. Add a student”.
  2. Also try to do code for “5. List all students”. In here you have to use for loop to go through each element inside “students” list. Look at example below
School System:
1. Add a student
2. Add a teacher
3. Find student
4. Find teacher
5. List all students
6. List all teachers
7. List all students map
8. List all students order by firstName
9. List all students order by Age reverse
10. Quit
Enter your selection:1


What is your student's name? Gamas Chang
What is your student's age? 100
What is your student's grade? 10
What is your student's School Name? Gabrielino Highschool
Is your student a good listener? True or False: true
A new student has been created: Gamas Chang

School System:
1. Add a student
2. Add a teacher
3. Find student
4. Find teacher
5. List all students
6. List all teachers
7. List all students map
8. List all students order by firstName
9. List all students order by Age reverse
10. Quit
Enter your selection:1


What is your student's name? Amanda
What is your student's age? 13
What is your student's grade? 8
What is your student's School Name? Temple City High
Is your student a good listener? True or False: true
A new student has been created: Amanda

School System:
1. Add a student
2. Add a teacher
3. Find student
4. Find teacher
5. List all students
6. List all teachers
7. List all students map
8. List all students order by firstName
9. List all students order by Age reverse
10. Quit
Enter your selection:5


Gamas Chang - 100 years old - grade 10
Amanda - 13 years old - grade 8

Details

Date:
August 7, 2021
Time:
10:00 am - 11:00 am
Event Categories:
,
Verified by MonsterInsights