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 |
What happens when main () method is declared as private?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
Explain how to force the garbage collection in java.
How do you find the absolute value?
What’s the difference between applets and standalone program?
When we give defination of interface method in the class why method must be public???
What is difference between filereader and bufferedreader?
How does queue work in java?
Explain about core java?
What function extracts specified characters from a string?
How to display arraylist values in java?
class{ ... ... interface myinterface{ ... ... } abstract class{ .. .. } ... .. .. } is this possible to write "Interface and/ or Abstract class inside a class ? if possible whcich one is possible is only interface? is only abstract?