what are the methods in object?



what are the methods in object?..

Answer / Priyanshu Varshney

In Java, Object class has more than 30 methods such as equals(), toString(), hashCode(), notify(), wait(), and finalize(). However, some of these methods may be overridden in child classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.

1 Answers  


What is the benefit of singleton pattern?

1 Answers  


Does java map allow duplicates?

1 Answers  


Hi Friends.. can any one provide the real time example for methodoverloading and methodoverriding .........

2 Answers   Honeywell,


what is ststic with example

1 Answers   Wipro,


What are the 3 types of control structures?

1 Answers  


when should you use stringbuilder class in a program?

1 Answers  


How hashset works internally in java?

1 Answers  


how do I create a runnable with inheritance? : Java thread

1 Answers  


can we add two numbers without using arthematic operators? if possible how?

5 Answers   CTS,


Does every java program need a main?

1 Answers  


What are the traverses in Binary Tree?

2 Answers   Adobe, Infosys,


Categories