Btw just to answer your question,
You cannot call two synchronized methods of a class on the same object. This is the use of synchronization. If you can call two synchronized methods on the same object then there is a chance of corruption of the state of the object. Synchronization helps you to avoid this....
____________________________________________
Priya,
Cooking is Fun |
Eat Healthy Stay Fit |
Sweets |
Raita |
Bread |
Dal