Why destructor is not used in java?
No Answer is Posted For this Question
Be the First to Post Answer
Can we override private method?
Is set thread safe java?
What is meant by stack and queue?
What is stack example?
What are the advantages of passing this into a method instead of the current class object itself?
What does system.gc() and runtime.gc() methods do?
JSP is by default thread safe or not? what is the meaning of isThreadSafe="true" and isThreadSafe="false". Explain it? Thanks, Seenu
How to sort an array from smallest to largest java?
Why runnable interface is used in java?
Why you should not use singleton?
What is an array length?
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?