CSD201_-_RE_-_SU_2023_555.webp
Todoroki_87

CSD201_-_RE_-_SU_2023_555.webp

OD
(Choose 1 answer)
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!
***
B. That's all!
C. ***
**
That's all!

Exit (31

Thông tin

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

Image metadata

Filename
CSD201_-_RE_-_SU_2023_555.webp
File size
48.7 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom