CSD201_-_SP_2025_-_RE_3731.webp
K

CSD201_-_SP_2025_-_RE_3731.webp

☑Kizspy.me
Answer (Choose 1 answer)
☐ A
Back
Next
Consider the following function:
void fun(int n)
{if (n == 0)
System.out.println("That's all!");
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. That's all!
***
**
FUO.sh
sh the exam.
B. That's all!
**
***
C. ***
**
That's all!
D.
*
**
***
That's all!

Thông tin

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

Share this media

Back
Bên trên Bottom