0
What is the output of this code?
Type Casting public static void main(String[ ] args) { double x = 1.5; double y = 2.65; sum((int)x, (int)y); } static void sum(int x, int y) { System.out.println(x + y); }
9 odpowiedzi
+ 5
You can try it in code playground
+ 4
3
+ 2
copy the code and paste the code in the java playgorind amd hit run then you will get your answer
+ 1
And make a class too
+ 1
3
0
ty so much
0
The output is 3
0
3 correct
0
3 is the Aswer..