Hi whatz the answer could u send me the java file as well ???? On Jul 4, 2012 10:35 PM, "fluxion" <[email protected]> wrote:
> It appears when SynchronizedExample3.java is ran; the output is > displayed as follows: > > Hello there. > Thank you, very much! > How are you? > > But the order of three threads being started are in this order: > > Hello there. > How are you? > Thank you, very much! > > Is this behavior Ok? I understand each threads output is in itself > synchronized but the order of thread execution doesn't appear in > order. Please explain how we can achieve correct order. > > Thank you. > > -- > You received this message because you are subscribed to the Google Groups > "JPassion.com: Java Programming" group. > 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/jpassion_java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "JPassion.com: Java Programming" group. 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/jpassion_java?hl=en.
