题目详情
单选题 Given:String a = "ABCD";String b = a.toLowerCase();b.replace('a', 'd');b.replace('b', 'c');System.out.println(b);What is the result
A. abcd
B. ABCD
C. dccd
D. dcba
E. Compilation fails
F. An exception is thrown at runtime
学科:Java程序设计(2023年秋季)
时间:2023-12-26 10:36:28
相关题目
相关作业