Can long be null in java?
No Answer is Posted For this Question
Be the First to Post Answer
How to override equals() and hashCode() method in java?
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
Is 0 a real number?
How u dubugg ur project?
Why do we need hashmap in java?
what is difference between requestprocessor and request dispatcher?
How do you end a program?
What is boolean logic?
Where is the singleton class 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?
What is set string?
What is the lifetime and scope of a variable?