You are on page 1of 1

class Structure

 Has mechanism
 Can be initialized during  Cannot be initialized
of inheritance
declaration during declaration
 Used as a
 To initialize, it used  Can initialize it
stand-alone
constructors and members automatically
type
destructors  Cannot have null values
 Declare some of
 Can have null values  Memory is allocated on
the private
 Allotted on the heap a stack
members
 Is a reference type  Is a value type
 Syntactically
 Are private  Are public
equivalent

You might also like