Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

doubt on synchronized block-2

 
shankara me
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Report post to moderator
the general form of synchronized block is

---------------------------------------------------------------------------------------------
Here object means object of table class or object of stringor integer.... class.
I want a programme where object of string class or object of integer class is locked in table class of above code.
can any one give such type of programme by editing below pogramme.
I hope you help me.
---------------------------------------------------------------------------------------
i

--------------------------
 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Report post to moderator
shankara can you please explain your question properly.
 
Henry Wong
author
Marshal
Pie
Posts: 21498
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator

Starting another topic to ask the same question again is a bit inefficient isn't it? Would it not be easier to simply follow up on your previous topic?

http://www.coderanch.com/t/599436/threads/java/synchronized-block-java

Henry
 
    Bookmark Topic Watch Topic
  • New Topic