American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Intro To Java – Brandon

October 19 @ 5:00 pm - 7:00 pm

What we learned today:
  1. We learned about intro to methods
  2. Void and Non Void Functions
  3. Public, Private and Protected Modifiers
Homework:
First Homework: The Magic 8 Ball (methods + OOP)
  • Oct19_MethodsMagic8Ball_HW.java
  • The Magic8Ball as a method

  • Random inside the method

  • Get input using a method

  • Print using a method

  • Last one is run() method which calls the input + random methods


Second Homework: Tell Me Your Age (methods + if/else)
  • Oct19_MethodsHomework.java
  • Use methods to get age

  • Use methods to provide a response (void)


Third Homework: Fahrenheit → Celsius (method returns result)
  • Oct19_FahrenheitToCelcius_HW.java
  • Convert Fahrenheit into Celsius using: (F - 32) * 5 / 9 = C

  • Return the result and print it

Details

Date:
October 19
Time:
5:00 pm - 7:00 pm