Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

doubt on synchronized block-2  RSS feed

 
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
Sheriff
Posts: 22841
119
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
Boost this thread!