What are the five major types of reference sources?
No Answer is Posted For this Question
Be the First to Post Answer
Why Over riding is Run Time Polymorphism?
According to java operator precedence, which operator is considered to be with highest precedence?
Does list maintain insertion order java?
What is data object example?
What is the role of the java.rmi.naming class?
What are methods in java?
How to run a JAR file through command prompt?
What are 4 pillers of object orinted programming?
What is final modifier?
What is java string pool?
What is an array 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?