Getting Started with Java
This is a 100% free course, but we need you to first join or login to watch this video.
Alright, join or login here.This video shows an example of classes and objects in Java by creating a Square class and a Square object. It shows how you can add instance variables or properties to the class, methods to the class and how you can eventually create many objects inside a for loop and do something useful with the methods such as calculating the area of our Square.