Core Java Interview questions


Total available count: 646
Subject - Java Technologies
Subsubject - Core Java

What is returned by the method toString() in java?

Returns the string representation of the object.




Next 5 interview question(s)

1

 Which method is invoked by the garbage collector before object is being garbage collected?

2

The method finalize() throws which exception?

3

The method clone() throws which exception?

4

What is downcasting in java?

5

What is upcasting in java?