The first one. On Nov 14, 5:06 pm, papatya <[email protected]> wrote: > Create a class called MyCurrentDate that implements Runnable > interface. > The MyCurrentDate class displays the current date and time 10 times, > with 100 milli seconds interval - use sleep() method for this > interval. > Create a class called MyMain, which contans main() method, in which 3 > instances of MyCurrentDate threads are being run. > > is this means that the output like this? > henry Sat Nov 14 18:00:38 EET 2009 > sally Sat Nov 14 18:00:38 EET 2009 > mary Sat Nov 14 18:00:38 EET 2009 > henry Sat Nov 14 18:00:39 EET 2009 > sally Sat Nov 14 18:00:39 EET 2009 > mary Sat Nov 14 18:00:39 EET 2009 > . > . > . > or for ex: > henry Sat Nov 14 18:00:38 EET 2009 > > . > . > . > sally Sat Nov 14 18:00:38 EET 2009 > . > . > . > mary Sat Nov 14 18:00:38 EET 2009 > . > . > . > _______________________________________________ > which of them is the output? 1st or 2nd??
--~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
