American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

10 AM – Intro To Java

July 24, 2021 @ 10:00 am - 11:00 am

Today We Do
  1. We created Student class
  2. We learned about class attributes and its access modifiers: private, public, protected, <default>
  3. We learned about getter and setter
Homework
  1. For Student class, create the getter and setter for all its class attributes. Look at how we did for name attribute.
  2. Call age getter and setter class from SchoolApplication.
  3. Create a new class Teacher with 4 class attributes: name, age, expertise, and any 4th attribute that you like.
  4. Create Teacher constructor method. Constructor is like __init__ in python.

Details

Date:
July 24, 2021
Time:
10:00 am - 11:00 am
Event Categories:
,
Verified by MonsterInsights