What is the difference between the synchronized() & static
synchronized()?
Answers were Sorted based on User's Feedback
Answer / namrata
when a Thread enters a static synchronized method of a
given class, then no other Thread can enter another static
synchronized method of that class. But other threads might
execute any non-synchronized method, or a synchronized
instance method.
Is This Answer Correct ? | 6 Yes | 3 No |
Why do we use bufferedreader?
List the interfaces which extends collection interface?
Difference String and String Buffer
What is java console application?
what is stringtolennizer with example?
i need to know the site which compiles and run the java program completely in online... thank you for your reply in advance
What is the do while loop syntax?
Is Constructor possible in abstract class in java ?
Can you explain the difference b/n abtract and interface with a good example,?In what cases we have use abtract and what case interface?
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }
What is the size of int in 64-bit jvm?
What are the object and class classes used for?