Results 1 to 3 of 3

Java Thread-Safe Meaning

This is a discussion on Java Thread-Safe Meaning within the Java forums, part of the Software Development category; What is the meaning of thread-safe in java?...

  1. #1
    Junior Member
    Join Date
    Apr 2009
    Answers
    2

    Java Thread-Safe Meaning

    What is the meaning of thread-safe in java?


  2. #2
    Expert Member
    Join Date
    May 2009
    Answers
    1,373

    Re: Java Thread-Safe Meaning

    Hi Ankit,

    Thread safe means that the state of the internal data to the object is protected by synchronization. I.e. two threads won't be able to alter the data at the same time, since that can lead to inconsistensy.
    CLEAR............

    Regards,
    Riju


  3. #3
    Junior Member
    Join Date
    May 2009
    Answers
    1

    Re: Java Thread-Safe Meaning

    Yes that is true ...we can achieve this through synchronization mechanism


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact

SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.