write class A
write class B
write class C
Demonstrate when constructors are executed