luohzzz

导航

2021年4月21日 #

scanner

摘要: Scanner package ds;​import java.util.Scanner;​public class Dome1 { public static void main(String[] args) { //创建一个扫描器对象,用于接受键盘数据 Scanner Scanner = new 阅读全文

posted @ 2021-04-21 23:13 luohzzz 阅读(296) 评论(0) 推荐(0) 编辑

运算符

摘要: 逻辑运算符 与(and)、或(or)、非(no) package operator;​public class Dome5 { public static void main(String[] args) { boolean a = true; boolean b = false;​ System. 阅读全文

posted @ 2021-04-21 17:13 luohzzz 阅读(481) 评论(0) 推荐(0) 编辑