Q44_99_20250829131329.webp
Goku777

Q44_99_20250829131329.webp

  • Media owner Goku777
  • Ngày thêm
☑Kizspy.me
(Choose 1 answer)
☐ A
Back
Next
Consider the following function:
void fun(int n)
{if (n == 0)
System.out.println("Hello");
else
{for(int i = 1; i <= n; i++)
}
}
System.out.print("$");
System.out.println();
fun(n - 1);
What is the output when the statement fun(3); is run?
A. Hello
$$$
$$
FUQ.sh
sh the exam.
$
B. $
$$
$$$
Hello
C. $$$
$$
$
Hello
D. Hello
$
$$
$$$

Thông tin

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

Share this media

Back
Bên trên Bottom