Computer Science, asked by lalitsaraswat5196, 1 year ago

What is the output of the following program?

class A{ public static void main(String args[]){ byte b; int i = 258; double d = 325.59; b = (byte) i; System.out.print(b); i = (int) d; System.out.print(i); b = (byte) d; System.out.print(b); } }
A.258 325 325
B.258 326 326
C.2 325 69
D.Error

Answers

Answered by Anonymous
2
______✨ HEY MATE ✨______

➡️Option (C) is the right answer ✔️

<marquee>✌️ I THINK IT HELPED YOU ✌️
Answered by sasat74
2
Hola friends......
===============

<b><i>Option C :- 2, 325, 69.....

Is the correct answer.......
Similar questions