What are the types of relation?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is the role of garbage collector in java?

0 Answers  


How do you sort words in java?

0 Answers  


How to declare an arraylist in java?

0 Answers  


What is Hierarchy of exception?

0 Answers   Amdocs,


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?

5 Answers  






Is java a super set of javascript?

0 Answers  


Write POJO class as a key to hashmap???

2 Answers  


What is super keyword in java ?

1 Answers  


How does JAVA ClassLoader work?

1 Answers   IBM,


Can we assign the reference to this variable?

0 Answers  


What is a copy constructor in java?

0 Answers   Amazon,


Can we have two methods in a class with the same name?

0 Answers  


Categories