What is the difference between the synchronized() & static
synchronized()?
Answer Posted / sitaram
synchronizing is the process of ensuring the share resources
will be accessing only one thread at a time. There are two
types of synchronizations.
1. static synchronized(Class level)
2.synchronized.(Object Level).
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What method is used to specify a container's layout in java programming?
What is anti pattern in programming?
What is the difference between instanceof and isinstance?
What is a static method in java?
What is the purpose of static methods and static variables?
What is field name?
What languages are pass by reference?
What is the difference between post and put?
Where and how can you use a private constructor?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
Can I uninstall java?
What is pojo class in java?
what is predefined function in java?
Explain about version control?
In a container there are 5 components. I want to display the all the components names, how will you do that one?