Q19_103_20250808160627.webp
G

Q19_103_20250808160627.webp

☑Kizspy.me
Answer (Choose 1 answer)
☐ A
Consider the following function:
void fun(int n)
{if (n <= 0)
System.out.println("Hello");
else
}
}
{for(int i = 0; i < n; i++)
System.out.print("$");
System.out.println();
fun(n-2);
What is the output when the statement fun(5); is run?
A. Hello
Back
Next
FUQ.sh
sh the exam.
$$$$$
$$$
$
B. $$$$$
$$$
$
Hello
C. SSSS
$$
$
Hello
D. $
$$$
$$$$$
Hello

Thông tin

Category
CSD201
Thêm bởi
Giyu20012
Ngày thêm
Lượt xem
1,546
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom