Do not post real SCJP 1.4 questions on this forum.
How can we distinguish that this is not a compile error ,as constructor cannot have a return type.Rather than a perfect code where the method has the same name as that of the class.
[ February 20, 2007: Message edited by: Barry Gaunt ]
(topic title edited: no urgency on this forum, we take it laid back and easy) [ February 21, 2007: Message edited by: Barry Gaunt ]
Joined: Aug 03, 2002
You have, perhaps unknowingly, posted two what could very well be real SCJP 1.4 questions. There are some sources on the web (known as braindumps) where real questions can be obtained. We do not allow these questions to be discussed on JavaRanch. Using these sources is considered to be unfair and to be degrading the value of the SCJP certification which others have obtained through honest hard work. Keep to the regular mock exams mentioned in our FAQ.