摘要:
package com.Leo.base;/** * @author Leo * @version 1.0 * @since 1.8 */public class Doc { String name; /** * @authour Leo * @param name * @return * @thr 阅读全文
摘要:
阅读全文
摘要:
package operator;//三元运算符public class Demo08 { public static void main(String[] args) { // x ? y : z //如果x==true,则结果为y,否则结果为z int score = 80; String ty 阅读全文
摘要:
package operator;//逻辑运算符public class Demo05 { public static void main(String[] args) { // 与(and) 或(or) 非(取反) boolean a = true; boolean b = false; Syst 阅读全文
摘要:
package operator;public class Demo04 { public static void main(String[] args) { //++ -- 自增,自减 一元运算符 int a = 3; int b = a++; //执行完这行代码后,先给b赋值,再自增 //a = 阅读全文
摘要:
package operator;public class Demo01 { public static void main(String[] args) { //二元运算符 //Ctrl + D :复制当前行到下一行 int a = 10; int b = 20; int c = 25; int 阅读全文