5

【Java】入门笔记3

 3 years ago
source link: https://www.guofei.site/2016/06/18/java3.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

【Java】入门笔记3

2016年06月18日

Author: Guofei

文章归类: 语言,文章编号: 12003


版权声明:本文作者是郭飞。转载随意,但需要标明原文链接,并通知本人
原文链接:https://www.guofei.site/2016/06/18/java3.html

Edit
System.out.print # 不换行输出

Scanner sc = new Scanner(System.in);
int n=sc.nextInt(); // 等待键盘输入
// sc.next() //字符串

System.out.println(n);

您的支持将鼓励我继续创作!

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK