What are the types of relation?
No Answer is Posted For this Question
Be the First to Post Answer
What is the role of garbage collector in java?
How do you sort words in java?
How to declare an arraylist in java?
What is Hierarchy of exception?
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 java a super set of javascript?
Write POJO class as a key to hashmap???
What is super keyword in java ?
How does JAVA ClassLoader work?
Can we assign the reference to this variable?
What is a copy constructor in java?
Can we have two methods in a class with the same name?