摘要:
swith swith单运用 package com.struct;public class SwitchDomn01 { public static void main(String[] args) { char grade = 'A'; //case穿透 //swith 匹配一个具体的值 s 阅读全文
posted @ 2020-04-07 17:43
乖执事
阅读(460)
评论(0)
推荐(0)
摘要:
if if单判断 package com.struct;import java.util.Scanner;public class ifDomn01 { public static void main(String[] args) { Scanner scanner= new Scanner(S 阅读全文
posted @ 2020-04-07 17:41
乖执事
阅读(181)
评论(0)
推荐(0)
摘要:
Scanner 关于scanner的基础运用 scanner(System.in)(重点注意) scanner hasNext package com.scanner;import java.util.Scanner;public class Domn01 { public static voi 阅读全文
posted @ 2020-04-07 17:38
乖执事
阅读(216)
评论(0)
推荐(0)
摘要:
运算符 除法产生小数时要注意类型 package operator;public class Domn01 { public static void main(String[] args) { int a=10; int b=20; int c=25; int d=25; System.out. 阅读全文
posted @ 2020-04-07 10:11
乖执事
阅读(95)
评论(0)
推荐(0)

浙公网安备 33010602011771号