- This event has passed.
SAT – 6:30 PM – Intro To Java – Shawn
June 1 @ 6:30 pm - 7:30 pm
Gamas Sub
Today We Did
- We reviewed methods and Magic8BallOOPHomework.java
- We started SchoolSystem project.
- We print the menu.
- We created Student class.
Homework
- Add code that will make the program stop when user enter “exit”.
- Create a new attribute List<Student> studentList = new ArrayList<Student>(); inside SchoolSystem class.
- Create a new method addStudent() and inside this method, ask user 3 questions and create a Student class and add the student inside studentList.
- Don’t forget to call this addStudent() inside your applicationLoop when student chose “1. Add Student.”
- This is very similar to add_student(self) method in SchoolSystem in PythonOOP class. If you don’t have the code, here it is https://drive.google.com/drive/folders/1KCa4UyvybeAUByYZNh5XdzwBZl_q3C0_?usp=drive_link