我在下面的代码中不断出现多个标记错误,并且在readData函数中也是如此..
public static void writeData(OutputStream os) throws IOException
{
DataOutputStream out = new DataOutputStream(new BufferedOutputStream(os));
for (int x = 0; x < 10; x++)
{
int random = (int)(Math.random() % 100) + 1;
out.writeChars("Random value = " + random);
}
out.flush();
out.close();
}
多个标记表示存在多个错误......但我无法解决问题...