CSD201_-_FE_-_SU_2023_401.webp
C

CSD201_-_FE_-_SU_2023_401.webp

  • Media owner Carla89
  • Ngày thêm
(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!
8

Thông tin

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

Image metadata

Filename
CSD201_-_FE_-_SU_2023_401.webp
File size
48.9 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom