- 博客(2)
- 收藏
- 关注
原创 Switch语句default位置理解
public class SwitchDefaultLocation {public static void main(String[] args) { // TODO Auto-generated method stub int i=1; switch(i){ default: i++; case 1: i++; case 2: i++; case 4: i++;...
2019-12-29 19:37:59
2583
原创 String类型值传递
public class ValueTransferTest {public static void main(String[] args) {String s1 = “hello”;ValueTransferTest test = new ValueTransferTest();test.change(s1);System.out.println(s1);// hello}publ...
2019-12-27 14:54:05
1390
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人