PRO192_-_C1_-_FE_-_SU_2023_391.webp
H

PRO192_-_C1_-_FE_-_SU_2023_391.webp

(Choose 1 answer)
What is the output when you try to compile and run the following program?
public class Main { void f(String t) (System.out.println("String");}void f(StringBuffer h) (System.out.println("StringBuffer");}public static void main(String argv[]){f("ABC");System.out.println();
A. No output, compile-time error.
B. StringBuffer
C. String
D. The code runs with no output.
Edt (14

Thông tin

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

Image metadata

Filename
PRO192_-_C1_-_FE_-_SU_2023_391.webp
File size
61.6 KB
Dimensions
1713px x 893px

Share this media

Back
Bên trên Bottom