Why synchronization is important in java?
No Answer is Posted For this Question
Be the First to Post Answer
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?
What is a null class?
What is a java lambda expression?
what is language and it responsibilities
How does hashset work in java?
What is module in oop?
Explain the protected field modifier?
What is skeleton and stub? What is the purpose of those?
What are multiple inheritances? Is it supported by java?
How we can make copy of a java object?
Explain scope or life time of local variables in java?
Difference between error and exception