摘要:
用户交互Scanner package com.beijing.xiaowen.scanner; import java.util.Scanner; public class Demo01 { public static void main(String[] args) { //接受键盘输入内容 S 阅读全文
posted @ 2022-10-19 23:10
Always_0708
阅读(18)
评论(0)
推荐(0)
摘要:
基本运算符 package com.beijing.xiaowen.operator; public class Demo01 { public static void main(String[] args) { int a = 10; int a1 = 20; int a2 = 30; int a 阅读全文
posted @ 2022-10-19 01:22
Always_0708
阅读(35)
评论(0)
推荐(0)
摘要:
变量 public class WithZVariable { //类变量 static int abc = 66; //实例变量 从属于对象;如果不自行初始化,这个类型默认值为 0 0.0 //布尔值:默认是false //除了基本类型 其余都是null String abv = "zhou"; 阅读全文
posted @ 2022-10-19 00:29
Always_0708
阅读(23)
评论(0)
推荐(0)
摘要:
public class TypeConversion { public static void main(String[] args) { /** * 低 高 * byte short char int long float double * */ int a = 128; byte b = (b 阅读全文
posted @ 2022-10-19 00:05
Always_0708
阅读(23)
评论(0)
推荐(0)

浙公网安备 33010602011771号