American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM – Intro To Java – William

February 3 @ 4:00 pm - 5:00 pm

Today We Did
  1. Reviewed Java Quiz
  2. Started MonsterInheritance project
    1. Explained final strings
    2. Explained nextInt() vs nextLine() + parseInt()
    3. Set up run() method
    4. Started addNewMonster() and Monster class

Continue working on MonsterInheritance:

  1. Finish the Monster class:
    1. Create getter and setter methods
    2. Create a public method called heal with one integer parameter hp that heals the monster by the specified health points. Doesn’t return any value.
  2. Finish addNewMonster():
    1. Create a new Monster and store it in a HashMap
  3. Create listAllMonsters() (selection 2):
    1. Print out all monsters in the following format:
      • – {Monster species}: {Monster health} HP

If you have any questions, please email me at


February 3
4:00 pm - 5:00 pm
Event Categories:
Verified by MonsterInsights