Mian Amjad wrote:
unfortunately, I did not get the explanation. Any help? thanks.
When the main() method of the Office class is called, it will instantiate an Emp instance for the "e" local variable. During this instantiation, it will need to initialize the "mgr" instance variable... which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it. And during this instantiation, for the instance variable, it will also need to initialize the "mgr" instance variable for it, which of course, needs to instantiate an Emp instance variable for it.... stack overflow (or out of memory) exception...
Henry