American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

10 AM – Intro To Java – Gamas

November 13, 2021 @ 10:00 am - 11:00 am

Today We Do
  1. We reviewed quiz result.
Homework
  1. Create a new Java Project (File > New Project) call this project “MonsterInheritance“.
  2. Inside this new project, create a new Java file/class: Monster.java
  3. Inside this new class, create 2 attributes: String species and int health.
  4. Create a new Java class: MonsterSystem.java
  5. Inside MonsterSystem, create a Map monsterMap;
  6. Inside MonsterSystem, add a method initializeMonster(). Inside this method, user will add monster’s species as the key and Monster class as the value.
    • Monster class with species “dragon” and health – 100.
    • Monster class with species “troll” and health – 50.
    • Monster class with species “water golem” and health – 30.

Details

Date:
November 13, 2021
Time:
10:00 am - 11:00 am
Event Categories:
,
Verified by MonsterInsights