摘要: package com.zxs.process;import java.util.Scanner;public class process { public static void main(String[] args) { Scanner scanner = new Scanner(System. 阅读全文
posted @ 2023-02-12 13:33 小小的羊 阅读(19) 评论(0) 推荐(0)
摘要: package com.zxs.process;public class whileces { public static void main(String[] args) { int a=0; int s=0; //do...while 先执行,后判断 while (a<=50){ s=s+a; 阅读全文
posted @ 2023-02-12 13:31 小小的羊 阅读(13) 评论(0) 推荐(0)
摘要: package com.zxs.process;public class switchces { public static void main(String[] args) { char cj = 'c'; switch (cj){ case 'a': System.out.println("优秀 阅读全文
posted @ 2023-02-12 13:30 小小的羊 阅读(179) 评论(0) 推荐(0)
摘要: package com.zxs.process;import java.util.Scanner;public class ifces { public static void main(String[] args) { Scanner scanner = new Scanner(System.in 阅读全文
posted @ 2023-02-12 13:29 小小的羊 阅读(19) 评论(0) 推荐(0)
摘要: package com.zxs.process;public class forces { public static void main(String[] args) { /* int sum = 0; int num = 0; for (int i = 0; i <= 50; i++) { if 阅读全文
posted @ 2023-02-12 13:27 小小的羊 阅读(19) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-02-11 10:03 小小的羊 阅读(6) 评论(0) 推荐(0)
摘要: 单行注释 // 多行注释 /*......*/ 文件注释 /**......*/ 关键字 标识符 ●所有的标识符都应该以字母(A-Z 或者a-z) ,美元符($)、或者下划线( )开始 ●首字符之后可以是字母(A-Z或者a-z) ,美元符($)、下划线( )或数字的任何字符组合●不能使用关键字作为变 阅读全文
posted @ 2023-01-30 10:18 小小的羊 阅读(20) 评论(0) 推荐(0)
摘要: 1.创建文件夹存放代码2.新建一个java文件3.编写代码 4.编译javac java文件,会生成一个class文件5.运行java class文件 阅读全文
posted @ 2023-01-27 11:00 小小的羊 阅读(20) 评论(0) 推荐(0)
摘要: 盘符切换 E:查看当前目录下所有文件 dir切换目录 cd(+.. 返回上一级)清理屏幕 cls查看电脑ip ipconfig 计算机 calc画图工具 mspaint记事本 notepad 文件操作文件夹创建 md文件夹移除 rd文件创建 cd>文件删除 del 阅读全文
posted @ 2023-01-25 21:40 小小的羊 阅读(17) 评论(0) 推荐(0)
摘要: 复制 ctrl + c 复制并粘贴到下一行 ctrl + d粘贴 ctrl + v全选 ctrl + a裁剪 ctrl + x撤销 ctrl + z保存 ctrl + s关闭窗口 alt + f4永久删除 shift + delete 远行 windows + r打开文件管理 windows + e 阅读全文
posted @ 2023-01-24 20:53 小小的羊 阅读(438) 评论(0) 推荐(0)