Objects of a Class

In this lesson, you will create your first object of a class and learn how to set its fields and call its methods.

Instantiating a Class

Once a class has been defined, you can create objects from the class blueprint using the new keyword followed by the class identifier.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy