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
2
______✨ HEY MATE ✨______
➡️Option (C) is the right answer ✔️
➡️Option (C) is the right answer ✔️
Answered by
2
Hola friends......
===============
Option C :- 2, 325, 69.....
Is the correct answer.......
===============
Option C :- 2, 325, 69.....
Is the correct answer.......
Similar questions
Biology,
7 months ago
Math,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
English,
1 year ago
Hindi,
1 year ago