![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
妮酱也爱敲代码
简单而快乐,善良而执着。
展开
-
【JAVA】计算算式
package hello;import java.util.Scanner;public class Hello { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("你好"); Scanner in=new Scanner(System.in); int price; price=in.nextInt(); System.out原创 2021-12-18 23:04:03 · 702 阅读 · 1 评论 -
【JAVA】应声虫程序
package hello;import java.util.Scanner;public class Hello { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("你好"); Scanner in=new Scanner(System.in); System.out.println("echo:"+in.nextLine()); }原创 2021-12-18 22:54:45 · 1241 阅读 · 0 评论 -
【JAVA】打印
System.out.println("hello world");括号里是打印的内容原创 2021-12-17 23:25:24 · 583 阅读 · 0 评论