American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6:30 PM — Intro to Java — Shawn

May 18 @ 6:30 pm - 7:30 pm

Today We Did
  1. Methods
    1. Create a new Java class <date>
    2. Create a new method convertFromFahrenheitToCelcius. It has one parameter int fahrenheit. Inside the method, it will convert fahrenheit parameter into celcius by using this formula (F − 32) × 5/9 = C . You have to return the result. This is very similar to what we did in the class with addFourNumbers method.
  1. Copy the content of into May18_Magic8BallOOP. Run it and make sure it is running properly.
    1. Convert this into OOP:
      1. create run() method.
      2. Copy all the code from main() into run() method.
      3. And call the run() from main(). Look at how we did it in the

If you have any questions, email me at


May 18
6:30 pm - 7:30 pm
Verified by MonsterInsights