American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

5 PM – Intro to Java – William

July 14, 2023 @ 5:00 pm - 7:00 pm

Today we did:
  1. Finished Java Methods
  2. Started School System
    1. Add a student
    2. List all students
Homework:

Create new Java HW files:

  1. July14MethodsHW.java
    • 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.
  2. Teacher.java
    1. Create Teacher.java in your SchoolSystem project. It should have the following attributes:
      1. String firstName
      2. String lastName
      3. int age
      4. String subjectExpertise
      5. Create a constructor with all of above attributes.
      6. Create getter methods
    2. Implement the method: “2. Add a teacher” in SchoolSystem.java (hint: you’ll need a way to store all the teachers!)
      • Call the method addNewTeacher()

Please upload the 2 files (Teacher.java, July13MethodsHW.java) to your assigned Google Drive folders.

If you have any questions, please email me at williamsmith@ayclogic.com

Details

Date:
July 14, 2023
Time:
5:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights