为什么不能通过编译???????在线等,给分!!!!!
// Read a string from console using a BufferedReader.
import java.io.*;
class Text{
public static void main(String args[])
{
// create a BufferedReader using System.in
System.out.println("Enter lines of text.");
System.out.println("Enter 'stop' to quit.");
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
str = br.readLine();
File file = new File("0480518");
FileWriter out = new FileWriter(file);
out.write(str);//写文件
out.close();//关闭文件
}
}
import java.io.*;
class Text{
public static void main(String args[])
{
// create a BufferedReader using System.in
System.out.println("Enter lines of text.");
System.out.println("Enter 'stop' to quit.");
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
str = br.readLine();
File file = new File("0480518");
FileWriter out = new FileWriter(file);
out.write(str);//写文件
out.close();//关闭文件
}
}
...全文
相关推荐
Java在线编辑编译运行示例
Java源文件在线编辑, 并编译运行, 输出运行结果示例
在线C++编译器介绍
原文:http://blogs.msdn.com/xiangfan/archive/2008/08/29/online-c-compilation-service.aspx网上有许多在线C++编译器。你可以利用它们对你的代码针对各种C++编译器进行兼容性测试,而不需要购买和安装这些编译器。下面的网址是最有名的两个在线C++编译网站:http://www.dinkumware.com
python在线编译器搭建,python在线编译器源码
大家好,小编来为大家解答以下问题,python在线编译器搭建,python在线编译器源码,现在让我们一起来看看吧!离线Python编辑器和编译器都具有许多功能,但是在线编译器通常在功能上受到限制,并试图满足特定需求而不是满足所有需求,其中在线编译大多数是免费的,所以也受到开发者的热爱。在本文中,我们将浏览各种狂野的在线Python编译器,其中大多数是免费的,我们还列出了一些,它们是有价的,主要用于大型项目开发。
运用在线编译器
这是基于MVC框架写的,如何巧妙的使用在线编译器。代码简洁明了,通俗易懂。
java反编译文件!!!!!
java反编译文件


Java SE
