Objects Notes
Notes on Objects
A Class is a template for an Object. An Object is an instances of a Class.
Java is an object-oriented programming language. Everything in Java is associated with classes and objects, along with its attributes and methods.
For example: in real life, a car is an object. The car has attributes, such as weight and color, and methods, such as drive and brake.