Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
A class definition is like a sewing pattern that provides the instructions for constructing a garment. When you use a class, you instantiate it (create an instance) by using the new keyword with something that looks like a method call. It looks like a method call because it is a method call, a call to a special kind of method called a CONSTRUCTOR.