Create your account

Already have an account? Login here

Note: By joining, you will receive periodic emails from Coursetro. You can unsubscribe from these emails.

Create account

53. Classes And Objects Example

Getting Started with Java

Woah, wait a second..

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.

Course Cirriculum