What is meant by string is immutable?
No Answer is Posted For this Question
Be the First to Post Answer
Explain reverse a linked list recursive java solution?
java program with complete 4 oops concepts implemented example
Can you tell me range of byte?
What are variable arguments or varargs?
How to use Media tracker Class.
Which sort is best in java?
Is array dynamic in java?
when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).
What is qualitative variable?
How do you add an element to a set in java?
Is null in java?
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?