This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
It is executing. What makes you think it isn't? Try putting a print statement in the code you think isn't executing, to see what's happening. [This message has been edited by Jim Yingst (edited March 17, 2000).]
Did you had error while compiling? It compiles perfectly fine for me.
Are you expecting the this("hi") to print hi in the constructor? You need to refresh your constructor chaining concepts.
Do you have all these classes in one single source file?
In case you have all these classes are in one single file like Emp.java or Mgr.java, when try to compile and run from the IDE, since main() method is not defined in Mgr or Emp classes you will get a runtime error. In case you have successfully compiled the classes then try running StaticEmp1 class from the command prompt.
[This message has been edited by Manju Swamy (edited March 17, 2000).]
Mind is like a parachute. It works only when it is open.