Comment on Tutorial - Transient vs Volatile modifiers in Java By Reema sen
Comment Added by : oldman
Comment Added at : 2011-09-24 12:32:33
Comment on Tutorial : Transient vs Volatile modifiers in Java By Reema sen
i thnk exampleThread example is wrong - like billgates says.
the TestValue instance variable used by the two threads are from diffrernt objects. So, 'volatile' or not - they will always refer to two different variables - and hence not be in sync.
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
MultiLevel Inheritance sample in Java
Archived Comments
1. How can i read PDF files from external memory(SD c
View Tutorial By: Aswanth at 2014-03-31 09:46:26
2. This does not work in following case :
Cli
View Tutorial By: Amardeep at 2010-01-20 05:59:21
3. i find out this example quite heplful thnx adimn..
View Tutorial By: ayaz pathan ( MUET) at 2010-02-21 10:40:18
4. Thank you for this useful script! It works very we
View Tutorial By: Giuseppe at 2010-12-09 05:35:43
5. Any Solution for below Error,
*** t
View Tutorial By: Mazher at 2009-08-02 02:08:52
6. good.....not bad. .show me more programs.
View Tutorial By: saranya at 2011-12-07 08:49:39
7. Nice article .... Thank you...
View Tutorial By: viswa at 2012-06-16 17:21:59
8. It work fine with message below 160 chars. How can
View Tutorial By: Milind at 2011-12-15 06:20:33
9. good. very nice.
View Tutorial By: anuprassana at 2007-03-03 04:22:42
10. thanku very much. it is a good examples for abstr
View Tutorial By: rajesh at 2010-12-17 10:57:42