3 lines
60 B
Java
3 lines
60 B
Java
|
|
String s = "Hello, world!";
|
||
|
|
int byteCount = s.length() * 2;
|