Wikipedia:Reference desk/Archives/Computing/2012 December 4

= December 4 =

doubt on synchronized block in java
doubt on synchronized block in java

Hi ! some people are feeling bore on my regular questions on threads. Do not feel bore on my regular questions.I am a beginner.I am learning java with out any teacher.I need your valuable suggestinons.Today i am going to ask on synchronized block.

--

1)Here object means object of any class.i.e we can lock object of any class besides the object of "table" class.

2)if we place this in place of object it is possible to lock object of table class

3)then how can we lock object of a class other than table?can you give example based on below programme?

4) if we want to access a variable or method from table class we need object of table.

if we lock object of table class it is not possible to an object of table class to access synchronized block of table class

from two different places simultaneously.

but if we lock object of another class,say X,how can the object of class X can access synchronized block of table class?

because object of class X is not object of table.object of table only can access members of table.

--

I think you got my doubt.

I request you to clarify my doubt based on below programme. --- output: 5 10 15 20 25 100 200 300 400 500

Big American Internet Forums
Hello! I am new here in the USA and I want to know if there are some huge Internet Forums like Baidu Tieba which allows thousands of people to post information and discuss with others in the USA? Thank you very much.--Jack No1 06:48, 4 December 2012 (UTC)


 * Nothing perfectly analogous to that comes to mind, but take a look at list of Internet forums and Yahoo! Groups. ¦ Reisio (talk) 09:30, 4 December 2012 (UTC)

INTERCAL
Why is INTERCAL so fussy with politeness? — Preceding unsigned comment added by 64.135.48.170 (talk) 16:35, 4 December 2012 (UTC)


 * INTERCAL is a joke. -- Finlay McWalterჷTalk 16:43, 4 December 2012 (UTC)
 * Like HQ9+ and Ook(not notable, though). Coderz R s1LLy. - ¡Ouch! (hurt me / more pain) 09:36, 6 December 2012 (UTC)

Scrolling text in title bar
What is the HTML code for a marquee tag in a title bar? —Wavelength (talk) 17:48, 4 December 2012 (UTC)
 * http://allianzeunicollege.edu.my/portal/programmes-a-admission/degree/md-ucc.html


 * There isn't an HTML tag for that. They're using Javascript to manipulate the title DOM element, using the j7titlescroller extension for Joomla. -- Finlay McWalterჷTalk 17:58, 4 December 2012 (UTC)


 * Thank you. I am revising the heading of this section from Marquee tag in title bar to Scrolling text in title bar, in harmony with WP:TPOC, point 13 (Section headings).
 * —Wavelength (talk) 20:30, 4 December 2012 (UTC)

"What is the HTML code for a marquee tag in a title bar?"
 * Annoying, that's what. ¦ Reisio (talk) 22:56, 4 December 2012 (UTC)