« All Events
1 PM Intro To Java – Alex
June 4, 2022 @ 1:00 pm - 2:00 pm
Today We Did:
- We reviewed the School System project by going through how to change findStudent() into a return method and how to use it.
- We also implemented it into the editStudent() and explained how return and get works.
For Homework:
- Go through and change/add in the findTeacher and editTeacher methods so that they both do the same thing that the student methods do.
- Also, in preparation for next week, create a new class in our intro to java folder for IntelliJ called Restaraunt.java
- The Restaraunt should have a few attributes (variables) like name, phone number, age, and cuisine.
- Then you need to create a constructor for it and view the school system (teacher and student) to understand how to create a constructor.
- Also, create the getters and setters for all of the attributes.