PRO192_-_SU_2023_-_Block_5_-_RE_753.webp
Mai Linh 2001

PRO192_-_SU_2023_-_Block_5_-_RE_753.webp

(Choose 1 answer)
A. 7.2 7.2 5.2
B. 7.2 5.2 5.2
C. 7.2 5.2 3.2
D. 5.2 7.2 5.2
E. 7.2 7.2 7.2

What is the output when the following program is run?
{public static void main(String args[])
double x = 7.2;System.out.print(x + " ");
t.decre(x);
public class Main {Decrementer t = new Decrementer();System.out.print(xt.decre(x);+ " System.out.println(x);}}");
class Decrementer
{public void decre(double x)
{x = x - 2;
}
}

Thông tin

Category
PRO192
Thêm bởi
Mai Linh 2001
Ngày thêm
Lượt xem
1,629
Lượt bình luận
15
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_SU_2023_-_Block_5_-_RE_753.webp
File size
53.2 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom