在Java中,以下程序的输出结果为( )。 public class Test { public static void chang(String str) { str = "你好"; } public static void main(String[] args) { String str = "hello"; chang(str); System.out.print(str); } }
A.你好
B.hello
C.Hello
D.编译时出错
快乐颗粒 1楼
努力吧少年 2楼
赵德成gg 3楼
杏花天影 4楼
wuss 5楼
两点之间 6楼
Future灬 7楼
Future灬 8楼
null008 9楼
徐辉00 10楼
zkx2133 11楼
kuser10qs 12楼
悠闲自在 13楼
caomao5698 14楼
电竞瑞萌萌 15楼
做题数5122
做题数1079
做题数908
做题数832
做题数799
做题数770