Class Definitions 2 The class definition is (in part) a specification for an object  An object is an instance of a class just as the number 3 is an instance of the type int  Objects are created dynamically (at run time) using the keyword new and come into existence when memory is allocated for them on the heap  Objects cease to exist when they are no longer required (the space they occupied is automatically reclaimed by the garbage collector) Autumn 2013CE203 Part 020
{}