output from the base class output from an execution of the base class (main methodis shown in figure figure output from the base class even though they themselves do not refer to objectsbase-type variables are useful in the context of objectsfor they often make up the instance variables (or fieldsinside an object for examplethe counter class (code fragment had single instance variable that was of type int another nice feature of base types in java is that base-type instance variables are always given an initial value when an object containing them is created (either zerofalseor null characterdepending on the typeobjects in javaa new object is created from defined class by using the new operator the new operator creates new object from specified class and returns reference to that object in order to create new object of certain typewe must immediately follow our use of the new operator by call to constructor for that type of object we can use any constructor that is included in the class definitionincluding the default constructor (which has no arguments between the parenthesesin figure we show number of dissected example uses of the new operatorboth to simply create new objects and to assign the reference to these objects to variable figure example uses of the new operator