53. Classes And Objects Example

Woah, wait a second..

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.