When the constructor of a class is invoked?


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

Post New Answer

More Core Java Interview Questions

How many bytes is a string java?

0 Answers  


What is type parameter in java?

0 Answers  


how to split string in java?

0 Answers  


what is the use of bean managed and container managed with example?

0 Answers   EDS,


Why array is used in java?

0 Answers  


why operator overloading is removed in java?

1 Answers  


Which is better singleton or static class?

0 Answers  


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

0 Answers  


Is a class an object?

0 Answers  


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  


List some features of the abstract class.

0 Answers  


Write code to implement bubble sort in java?

0 Answers  


Categories