PRO192_-_SU_2023_-_Block_5_-_RE_753.webp
Mai Linh 2001

PRO192_-_SU_2023_-_Block_5_-_RE_753.webp

OD
(Choose 1 answer)
A. The code runs with no output.
B. StringBuffer
C. String
D. No output, compile-time error.
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();


Thông tin

Category
PRO192
Thêm bởi
Mai Linh 2001
Ngày thêm
Lượt xem
1,760
Lượt bình luận
15
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_SU_2023_-_Block_5_-_RE_753.webp
File size
51.6 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom