programmers will recognize this syntax as similar to structurewhile +programmers will notice that it' very much like class in ++except that there' no semicolon at the end (why did we need the semicolon in +anyway?creating objects specifying class doesn' create any objects of that class (in the same wayspecifying structure in doesn' create any variables to actually create objects in javayou must use the keyword new at the same time an object is createdyou need to store reference to it in variable of suitable type--that isthe same type as the class what' referencewe'll discuss references in more detail later in the meantimethink of reference as name for an object (it' actually the object' addressbut you don' need to know that here' how we would create two references to type thermostatcreate two new thermostat objectsand store references to them in these variablesthermostat therm therm /create two references therm new thermostat()therm new thermostat()/create two objects and /store references to them incidentallycreating an object is also called instantiating itand an object is often referred to as an instance of class accessing object methods after you specify class and create some objects of that classother parts of your program need to interact with these objects how do they do thattypicallyother parts of the program interact with an object' methodsnot with its data (fieldsfor exampleto tell the therm object to turn on the furnacewe would say therm furnace_on()the dot operator associates an object with one of its methods (or occasionally with one of its fieldsat this point we've covered (rather telegraphicallyseveral of the most important features of oop to summarizeobjects contain both methods and fields (dataa class is specification for any number of objects to create an objectyou use the keyword new in conjunction with the class name to invoke method for particular objectyou use the dot operator