A labeled continue will break out of any inner loops on its way to the next iteration of the named loop. A class is all the code for methods and data used to define an object. Usually the code for each class is stored in a separate file called class-name.java . This code is a kind of matrix used to create an object. Defining an object of a certain class is called creating an instance of that class .
Objects are instances of classes .
A class is the abstract concept, when you want to work with a particular object you create an instance of that class . Let's try to define a class to represent circles. A circle can be described by the x and y position of its center and by its radius. At the first line we use the keyword class to define the class . Note that the name used for the class must be the same as the one used for the filename.