American Young Coder

AYC logo

4 PM – Intro To Java – William

Today We Did Reviewed: Add a teacher List all teachers List all students. Explained overriding toString() method Started findStudent() Homework Finish findStudent() Add a last name attribute to Student Make sure toRead More...

4 PM – Intro To Java – William

Today We Did Finished findStudent() and findTeacher() Implemented listTeenageStudents() Learned about switch statements Homework Add a message that displays when attempting to list when there are no users/teachers Edit listAllTeachers(), listAllStudents(), listTeenageStudents()Read More...

4 PM – Intro To Java – William

Today We Did Reviewed listTeenageStudents() in SchoolSystem Started learning about HashMaps put() get() Homework Create a new HashMap called studentMap that maps from a student's first name to their grade (Integer). AddRead More...

4 PM – Intro To Java – William

Today We Did Finished learning about HashMaps containsKey() Replace values remove() size() keySet() values() Started EmailApplication createEmailAccount() Created EmailAccount class Homework Work on EmailApplication: Create getter methods for EmailAccount (refer to StudentRead More...

4 PM – Intro To Java – William

Gamas sub Today We Did We created SchoolApplication2 project. We copied all codes from SchoolApplication to this new project. We replaced studentList into studentMap and used firstName as the key. We addedRead More...

4 PM – Intro To Java – William

Today We Did Finished SchoolApplication2 findStudentByID() initializeMaps() Converted teacher list to hashmap Started debugging PetSystem.java Homework Finish debugging PetSystem.java https://www.ayclogic.com/fix-java-error/ Complete this practice quiz. We will review it next lesson! https://forms.gle/9ujNwnnBiZGjXmL88 IfRead More...

4 PM – Intro To Java – William

Today We Did Reviewed PetSystem errors Reviewed Practice Quiz Homework Study for the quiz next week! It will last the entire class period and be open-note. If you haven't done the practiceRead More...

4 PM – Intro To Java – William

Today We Did Java Quiz Homework We will be starting a MonsterInheritance program next class! Do the following to prepare: Create a new project called MonsterInheritance Create a Monster class: Monsters shouldRead More...

4 PM – Intro To Java – William

Today We Did Reviewed Java Quiz Started MonsterInheritance project Explained final strings Explained nextInt() vs nextLine() + parseInt() Set up run() method Started addNewMonster() and Monster class Homework Continue working on MonsterInheritance:Read More...

4 PM – Intro To Java – William

Today We Did Finished implementing Sword attack Attack menu swordAttack() takeDamage() Explained inheritance (superclass, subclass): Created Monster.java Homework Continue working on MonsterInheritance: Check if the player has died. If so, return toRead More...