American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

1 PM Intro to Java – Alex

May 14, 2022 @ 1:00 pm - 2:00 pm

Today We Did:
  1. We continued by creating the Teacher class with all its attributes.
  2. Also, add in createTeacher() and how to list all the students out when asked to.
  3. Also, we learned about getters and setters and how to use them.
For Homework:
  1. Add in the getters and setters for the Teacher class if you have not done it already.
  2. When there are no teachers or students inside the list it should print out “We have no students/teachers in our system yet”
  3. Add in listAllTeachers() where it will list all the teachers out when you type in 6 into the menu.
Please select one of the items below
1. Add Student
2. Add Teacher
3. Find Student
4. Find Teacher
5. List all students
6. List all teachers
Make your selection 1-6 (enter "exit" to quit): 6 

LIST ALL TEACHERS
We have no teachers in our system yet

Please select one of the items below
1. Add Student
2. Add Teacher
3. Find Student
4. Find Teacher
5. List all students
6. List all teachers
Make your selection 1-6 (enter "exit" to quit): 2

ADD NEW TEACHER
Enter the first name: Alex
Enter the last name: Lee
Enter the age: 18
Enter the email: alexlee@ayclogic.com
Enter the teacher's subject of expertise: Coding
You have added the teacher Alex successfully

Please select one of the items below
1. Add Student
2. Add Teacher
3. Find Student
4. Find Teacher
5. List all students
6. List all teachers
Make your selection 1-6 (enter "exit" to quit): 6 

LIST ALL TEACHERS
Alex Lee is 18 years old and teaches the Coding subject

Details

Date:
May 14, 2022
Time:
1:00 pm - 2:00 pm
Event Categories:
,
Verified by MonsterInsights