G
N
I
D
A
O
L
W
e
l
c
o
m
e
: )
摘要: Java中数组初始化 package com.run; public class ArayDemo08 { public static void main(String[] args) { ArayDemo08 Y = new ArayDemo08(); int S = Y.test(); int 阅读全文
posted @ 2021-01-03 16:48 狸猫大侠 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Java中的switch和case 1.switch case 语句有如下规则: switch 语句中的变量类型可以是: byte、short、int 或者 char。从 Java SE 7 开始,switch 支持字符串 String 类型了,同时 case 标签必须为字符串常量或字面量。 swi 阅读全文
posted @ 2021-01-03 16:22 狸猫大侠 阅读(283) 评论(0) 推荐(0) 编辑