What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
No Answer is Posted For this Question
Be the First to Post Answer
String is an immutable object. Then how can the following code be justified. String s1 = ?ABC?; String s1 = s1+?XYZ?; s.o.p(s1); The output is ABCXYZ, which is the value of s1 ?
6 Answers Flextronics, Keane India Ltd,
What is difference between static and abstract class?
What are the loops in java?
What is preparedstatement in java?
What is extension method in java?
What is class forname?
How to find the length and capacity of a string buffer ?
Can Anybody tell the diff b/w jdk1.6 and latest version.
What are the important features of Java 9 release?
How many bytes is 255 characters?
Is there a jre for java 11?
Can sleep() method causes another thread to sleep?