What's the difference between comparison done by equals method and == operator?
No Answer is Posted For this Question
Be the First to Post Answer
What are the supported platforms by java programming language?
What is charat java?
Say any two properties in beans?
Can we extend private class in java?
wht is customised exception?
1 Answers Logica CMG, Novell, Prudential,
What does n mean in java?
What does exp mean in math?
What is the difference between an object-oriented programming language and object-based programming language?
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?
Program to find greatest prime number in n numbers?
what are the difference between Java and .Net?
What is Exception handling in Java How do you handle run time errors please explain with an example