What is the ==?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Which graphs are functions?

0 Answers  


What is the difference between call by reference and call by pointer?

0 Answers  


what is the purpose of using rmisecuritymanager in rmi?

0 Answers  


Explain cookies?

2 Answers   Canon,


What is a blocking method in Java?

0 Answers  






What is the difference between a synchronized method and a synchronized block?

0 Answers  


How many bits is a float?

0 Answers  


What is the difference between the synchronized() & static synchronized()?

2 Answers   HP, SparkTG,


Why do you canvas?

0 Answers  


What is a variable simple definition?

0 Answers  


Is constructor inherited?

0 Answers  


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?

5 Answers  


Categories