hi all,
i am a novice in 'java' and new to this place. pls help me in solving this thing.
problem description:
there is a worm.
from the second minute of its birth, it gives another worm for every minute.
this goes with all the worms.
user input : no.of minutes.
desired output : no. of worms present.
here, i am trying simulate the above situation with multiple threads, wherein every thread, creates another thread from the second minute. and this goes till the given end.
but, my prog is not at all working and i can't figure out the problem.
PS: pls ignore the overhead of multiple threads. hope you will encourage my attempt to get the feel of 'threads' in java.