首页 | 本学科首页   官方微博 | 高级检索  
     

Java控制台数据获取方法及比较
引用本文:刘惠敏. Java控制台数据获取方法及比较[J]. 电脑编程技巧与维护, 2009, 0(6): 65-65
作者姓名:刘惠敏
作者单位:湖北黄冈职业技术学院计算机科学系,黄冈,438002
摘    要:从控制台获取数据,是一般控制台应用程序经常需要实现的一种基本功能。可以利用JDK提供的System.in、Scanner、Console等类完成功能的设计,三种不同的方法各有优缺点,在具体使用时可以根据实际情况进行合理选择。

关 键 词:Java  控制台  数据获取  

Java Console Data Capture Methods and Comparison
LIU Huimin. Java Console Data Capture Methods and Comparison[J]. Computer Programming Skills & Maintenance, 2009, 0(6): 65-65
Authors:LIU Huimin
Affiliation:Dept. of Computer Sci.;Huanggang Polytechnic College;Huanggang 438002
Abstract:Data capturing from console is a basic function frequently applied in normal console applications, and this function can be implemented by one of the following classes afforded by JDK: System.in, Scanner, Console. The three different methods will have their own advantages and disadvantages. In the real application, the most suitable method can be chose based on the specific requirements from this application.
Keywords:Java
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号