The general form of synchronized block is
class table
{
.......
void printTable(int n)
{
synchronized(obj)
{
......
Type: Posts; User: me_shankara
The general form of synchronized block is
class table
{
.......
void printTable(int n)
{
synchronized(obj)
{
......