Vidyalelo
Java Programming · Q140

Interfaces and Abstract Classes

Programming · Java Programming · question 140

Q140

What will be the output of the following Java program? class Output public static void main(String args[]) Long i = new Long(256); System.out.print(i.hashCode());

A.
256
Answer
B.
256.0
C.
256.00
D.
257.00

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board