What is pass by value?
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of runnable interface?
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?
Is 0 an even number?
What is a thin-client application?
Which is faster set or list in java?
How to set the Heap size in Java ?
When we will use an Interface and Abstract class?
What are the four integer types supported by java?
Define immutable object?
Why java is platform independent? Explain.
Difference between hashCode() & equals()?
What is a wrapper method?