PRO192_-_SU_2023_-_Block_5_-_2_754.webp
Minh Đức1

PRO192_-_SU_2023_-_Block_5_-_2_754.webp

(Choose 1 answer)
public class Conv{
What will be the result when you attempt to compile and run the following code?.
public static void main(String argv[]){
Conv c=new Conv();
String s=new String("ello");c.amethod(s);
}
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
w
Finish
El 39
  • Like
Reactions: bách

Thông tin

Category
PRO192
Thêm bởi
Minh Đức1
Ngày thêm
Lượt xem
2,468
Lượt bình luận
17
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_SU_2023_-_Block_5_-_2_754.webp
File size
47.5 KB
Dimensions
1286px x 546px

Share this media

Back
Bên trên Bottom