Hi All,
Sorry if i post this question at the wrong place.
Everyone ask if two methods access the same method at the same time what will you do. At this point generally we speak about synchronized methods.
My question is in an enterprise application every request comes in like a individual
thread, and every thread maitains there individual stack, then there should be no problems with local or member variables declared in that method, even the two threads access the same method at a time, where does situation occur where we use synchronized methods.