02 2021 档案
摘要:一.package operation;//逻辑运算符public class Demo05 { public static void main(String[] args) { // 与(and) 或(or) 非(取反) boolean a = true; boolean b = false; S
阅读全文
摘要:package operation;public class Demo04 { public static void main(String[] args) { // ++ -- 自增 自减 一元运算符 int a = 3; int b = a++; //a++ a= a+ 1 执行完这行代码后,先
阅读全文
摘要:一. package operation;public class Demo01 { public static void main(String[] args) { // 二元运算符(a+b) int a = 10; int b = 20; int c = 15; int d = 25; Syst
阅读全文
摘要:一.package base;public class Demo05 { public static void main(String[] args) { //操作较大数值的时候注意溢出问题!! //jdk7新特性(数字之间可以用下划线分割) int money = 10_0000_0000; in
阅读全文
摘要:package base;public class Demo04 { public static void main(String[] args) { int i =130; byte b = (byte)i;// 内存溢出,130数值超出byte最大值 System.out.println(i);
阅读全文
摘要:一.注释 public class Helloword { public static void main(String[] args) { //单行注释 //输出一个hello,world! /*多行注释 输出一个hello,word! */ /**文档注释 * @deprecated hello
阅读全文
摘要:笔记 常用的Dos命令 #盘符命令 E: D: #查看当前目录下的所有文件 dir#切换目录 cd (change directory)#返回上一级 cd ..#清理屏幕 cls (clear screen)#退出终端 exit#查看电脑ip ipconfig#打开应用 calc计算器 mspain
阅读全文
摘要:Markdown学习 标题: 三级标题 四级标题 字体 hello,World! ctrl+b 粗体 ctrl+i 斜体 ctrl+u下划线 hello,World! hello,World! hello,World! hello,World! 引用 大于号>+空格 分割线 三个减号三个星号都可 图
阅读全文

浙公网安备 33010602011771号