JPD123_-_SU_2023_-_B10T_-_ME_60.webp
Choso87

JPD123_-_SU_2023_-_B10T_-_ME_60.webp

  • Media owner Choso87
  • Ngày thêm
(Choose 1 answer)
What will be the result when you attempt to compile and run the following code?.}
public class Conv{public static void main(String argv[]) {
Conv c=new Conv();String s=new String("ello");
c.amethod(s);
} VERFLOW.COM
public void amethod(String s){
char c='H';
c+=s;
System.out.println(c);
}
A. Compilation and output the string "Hello"
B. Compilation and output the string "ello"
C. Compilation and output the string elloH
D. Compile time error
FUOVERFLO.COM
FUOVERFLOW.CO
antoni
Ett
2

Thông tin

Category
JPD123
Thêm bởi
Choso87
Ngày thêm
Lượt xem
150
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom