Why synchronization is important in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?

5 Answers  


What is a null class?

0 Answers  


What is a java lambda expression?

0 Answers  


what is language and it responsibilities

1 Answers  


How does hashset work in java?

0 Answers  






What is module in oop?

0 Answers  


Explain the protected field modifier?

0 Answers  


What is skeleton and stub? What is the purpose of those?

0 Answers  


What are multiple inheritances? Is it supported by java?

0 Answers  


How we can make copy of a java object?

0 Answers  


Explain scope or life time of local variables in java?

0 Answers  


Difference between error and exception

3 Answers   Nous, TCS,


Categories