Topic: 教我下JAVA有关输入语句 |
Print this page |
1.教我下JAVA有关输入语句 | Copy to clipboard |
Posted by: ccxuejava Posted on: 2008-03-30 21:59 我刚学JAVA现在对JAVA的输入语句搞的不太清楚,哪位高人能帮忙指点下. |
2.Re:教我下JAVA有关输入语句 [Re: ccxuejava] | Copy to clipboard |
Posted by: JiafanZhou Posted on: 2008-03-31 16:14 Input and output in Java is in the "java.io" package. The best place to have a look at this domain is Java doc for Java tutorial. Or alternatively nearly all basic Java books contain a section called "Input and output". Regards, Jiafan |
3.Re:教我下JAVA有关输入语句 [Re: ccxuejava] | Copy to clipboard |
Posted by: andy_wang_5 Posted on: 2008-04-04 10:50 如果你能理解java io封装的概念,就很简单了。 其实就是封装了标准输入流,和从文件中读取内容是一样的。只不过标准输入有等待输入的过程。没有结束标记。结束的时候要根据输入的内容判断。 |
4.Re:教我下JAVA有关输入语句 [Re: ccxuejava] | Copy to clipboard |
Posted by: ccxuejava Posted on: 2008-04-11 18:36 谢谢各位 好久没上了 |
5.Re:教我下JAVA有关输入语句 [Re: ccxuejava] | Copy to clipboard |
Posted by: weilichuan Posted on: 2008-05-05 14:51 java是没有输入输出语句的,java的输入输出都是以流来实现的。比如我们经常用到的System.out.println()语句,是这个意思:out是System类中的static字段,所以可以用类名调用,而无需生成System的实例,out是PrintStream类的实例,而println()是他的一个方法。 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |