Is Java Class Threadsafe ????? How to make Java class Thread
safe??
Answers were Sorted based on User's Feedback
Answer / bojjanna
By Default java class a not tread safe, i we make a tread
safe we have three ways
1) avoiding the instance variables
2) by using Sycrinization
3) by using Syncronize block
Is This Answer Correct ? | 19 Yes | 1 No |
Answer / divya
using synchronization,immutable objects,thread safe wrappers
Is This Answer Correct ? | 0 Yes | 1 No |
How do you define a parameter?
Can a list be null in java?
write a program to create an vector and listeterator.and value should be enter through keyboard.
What are blocks?.
What is arguments in java?
Is intellij better than eclipse?
What is bool mean?
How we get some middle records in one table?
What is ++ a in java?
What is type parameter in java?
Is alive in java?
What are loops in java? What are three types of loops?