1.

What is the output of this program?
public class Result 
{
public static void main(String args[])
{
Long n = new Long(230);
System.out.print(n.hashCode());
}
}

A. 220
B. 220.0
C. 230
D. 230.0
E. 250
Answer» D. 230.0


Discussion

No Comment Found

Related MCQs