Thread: Quiz Time
View Single Post
  #5 (permalink)  
Old 05-08-2008, 08:20 AM
rjuyal's Avatar
rjuyal rjuyal is offline
Senior Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 160
rjuyal is on a distinguished road
stack overflow!!
Eranga absolutely correct!

actually on compilation, the code will be converted to this,

Code:
public class ObjectTest { ObjectTest myObject; ObjectTest () { myObject = new ObjectTest(); } public static void main(String[] args) { ObjectTest myObject = new ObjectTest(); System.out.println(myObject); } }
Hence the answer, STACK OVERFLOW

Post some more quiz
__________________
Newton said Gravitaion, Rakesh says Earth Sucks
Reply With Quote