posted 18 years ago
For me the output is d. A1A2A3A1A1A2A3.
by calling A other():A1A2A3A1
by calling finalize: A1A2A3
but, they given the output as a,c,d,e...how..?
a.A1A2A3A1
c.A1A2A3A1A2A3
d.A1A2A3A1A1A2A3
e.A1A2A3A1A3A2A1
Why can't we choose only d?
and also in the above pgm, if I replaced the for loop with infinite loop, then A1A2A3A1 this sequence will print infinitely..correct?
[ December 12, 2006: Message edited by: Micheal John ]
Micheal John
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT