摘要: public class Operator001 { public static void main(String[] args) { //&&与(and) ||或(or) !非(取反) boolean a=true; boolean b=false; //&& and 与 System.out.p 阅读全文
posted @ 2020-08-19 13:43 willow_tree 阅读(70) 评论(0) 推荐(0)
摘要: public class Demo004 { //常量 static final double PI=3.14; //或者写成 final static double PQ=3.14; //static和final都属于修饰词 不分前后顺序 //类变量 static double salary=25 阅读全文
posted @ 2020-08-18 00:37 willow_tree 阅读(66) 评论(0) 推荐(0)
摘要: public class TWO { public static void main(String[] args) { //整数拓展 进制 二进制0b开头 八进制0开头 十六进制0x开头 int num01=10;//十进制 int num02=0b10;//二进制 int num03=010;// 阅读全文
posted @ 2020-08-13 21:00 willow_tree 阅读(88) 评论(0) 推荐(0)
摘要: Mark Down语法 1. 推荐文本编辑器Typro 2. 文件后缀名:XXX.md 3. 样式 (1)标题 一级标题: #空格 二级标题: ##空格 ... ... ... ... ... ... ... ...; 六级标题: ######空格 (2)字体样式 斜体:*文本* 例:文字 粗体:* 阅读全文
posted @ 2020-08-12 20:41 willow_tree 阅读(58) 评论(0) 推荐(0)