Why String is immutable in JavaHow to check if a thread holds lock on a particular object in Java
  Why String is immutable in JavaHow to check if a thread holds lock on a particular object in Java
2D Graphics
3D Graphics
Web Design & Development
Business Applications
Business Development
Databases
Desktop Programming
Operating Systems
Video Editing
Miscellaneous
Newsletter
User Login
  • Username
  • Password
Stats
  • Tutorials: 39,021
  • Categories: 572

Java Tutorials : Why String is immutable in JavaHow to check if a thread holds lock on a particular object in Java

Think about a scenario where you would have to find at run time that whether a thread has lock on a particular object e.g. find out whether thread NewsReader has lock on NewsPaper object or not ?

If this questions came in any interview then I would automatically assume that there could be at least two answer one is hard earned raw answer which programmer would like to figure out based on fundamentals and other could be some rarely used API calls which is available in java , by the way this is actually asked to me in an interview of one of the biggest global bank.
Why String is immutable in JavaHow to check if a thread holds lock on a particular object in Java  tutorial
    View Tutorial

Detailed Information

     Tutorial: Why String is immutable in JavaHow to check if a thread holds lock on a particular object in Java
     Date Listed: 2011-08-22
     Submitted By: javabuddy
     Total Hits: 1018
     Rating Tutorial Rating 2.82Tutorial Rating 2.82Tutorial Rating 2.82Tutorial Rating 2.82Tutorial Rating 2.82 (28 votes)

    Discuss Tutorial
    Comment On Tutorial
    View Tutorial
    Report Broken Link

 





© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 5 - Follow our Sitemap