and same for super class if we instansiate a subclass's object. What can we use as Constroctor's body?
thanks
Sid Murrey
Ranch Hand
Joined: Jul 07, 2008
Posts: 58
posted
0
When run, the following output is produced:
Local variables in static and non-static methods are of course only initialized when the method is called. The order of execution of static blocks and static variable initialization is depending on the code, as far as I know! [ July 23, 2008: Message edited by: Sid Murrey ]