|
It is just a very simple example, but it causes the system to run out of resources and cannot run. I compiled with Eclipse. If I stop it during the operation, will it be ok? The operating environment used under the virtual machine is not JDK
Please help, how to solve this problem, thank you, the following is the code posted:
public class test {
public static void main (String args []) throws Exception {
byte b [] = new byte [2];
b [0] = 3;
b [1] =-33;
System.out.println ("string:" + new String (b, "UTF-16"));
}
} |
|