American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM – Indo – Intro to Java – j

December 13, 2024 @ 4:00 pm - 5:00 pm

Today we did:
  1. We learned about classes in java.
  2. We continued with the school system.

 

Homework:
  1. Continue with the school system. In the teacher.java class, make sure to add the following attributes: firstName, lastName, age, email, subject. Make sure to declare the attributes, and initialize them in the constructor, just like with the student class. Also, create ‘getters’ just like with the Student class in order to make it easier to list all teachers later on.
  2. Add to the menu. It should look like this:
  3. “””
    \nSchool System:
    1. Add a student
    2. List all students
    3. Find student
    4. Add a teacher
    5. List all teachers
    6. Find teacher
    Enter your selection (enter ‘quit’ to exit):\s”””
  4. Finish 4 and 5 before next week. It should be similar to the process we did today.

If you have any questions, feel free to email me at joel@ayclogic.com.

Details

Date:
December 13, 2024
Time:
4:00 pm - 5:00 pm
Verified by MonsterInsights