What are the types of casting?
No Answer is Posted For this Question
Be the First to Post Answer
What are different types of states exist for a thread?
What are the different types of constructor?
What is a double?
Does constructor creates the object ?
Explain the differences between static and dynamic variables?
What are facelets templates?
Explain the difference between abstraction and encapsulation.
What is the difference between the >> and >>> operators?
What are packages and name a few?
What are the OOPS concepts in Java ?
Where are the card layouts used?
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?