问答题
简答题
String如何与字节数组相互转换?请写出相应的方法。
【参考答案】
//字符串转换成字节数组
string s = "welcome&e......
(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)
点击查看答案
相关考题
-
问答题
请简述final和finally的区别,并说明各自的用途。 -
多项选择题
下面哪段语法执行正确()
A. String s = "Gone with the wind";String t = " good ";String k = s + t;
B. String s = "Gone with the wind";String t; t = s[3] + "one";
C. String s = "Gone with the wind";String standard = s.toUpperCase();
D. String s = "home directory";String t = s - "directory"; -
多项选择题
关于JAVA中数据类型描述正确的是()
A.double型是基本数据类型
B.Double型是基本数据类型
C.double型是引用数据类型
D.Double型是引用数据类型
