What is the use of a conditional inclusion statement in Java ?
How many bytes are a float?
what is daemon thread and which method is used to create the daemon thread? : Java thread
How listener identify that the event came from a particular object?
Why is whitespace important?
How do you change an int to a string?
What is the formula to calculate percentage?
What classes of exceptions may be thrown by a throw statement?
What is data type in java?
What are accessor methods in java?
What is the difference between a local variable and an instance variable?
What is the constructor?
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?