摘要:
``` public class multiarraysExample1 { public static void main(String[] args) { int[][] magicSquare = { {16,3,2,13}, {5,10,11,8}, {9,6,7,12 }, {4,15,1 阅读全文
posted @ 2017-06-27 12:20
2021年的顺遂平安君
阅读(126)
评论(0)
推荐(0)
摘要:
输出结果: 阅读全文
posted @ 2017-06-27 11:29
2021年的顺遂平安君
阅读(313)
评论(0)
推荐(0)
摘要:
public class Understand_String_args{ public static void main(String[] args) { System.out.printf("args[0] = %s\n", args[0]); Sy... 阅读全文
posted @ 2017-06-27 11:29
2021年的顺遂平安君
阅读(60)
评论(0)
推荐(0)
摘要:
Do NOT use the `==`` operator to test whether two strings are equal! It only determines whether or not the strings are stored in... 阅读全文
posted @ 2017-06-27 11:20
2021年的顺遂平安君
阅读(64)
评论(0)
推荐(0)
摘要:
Do _NOT_ use the operator to test whether two strings are equal! It only determines whether or not the strings are stored in the same location. Sure, 阅读全文
posted @ 2017-06-27 11:20
2021年的顺遂平安君
阅读(250)
评论(0)
推荐(0)
摘要:
Array Initialization = `a[]`的值会被初始化为0 `int[] smallPrimes = {2, 3, 5, 7, 11, 13}; 在不新建数组的情况下重新初始化一个数组变量 Array Copying 阅读全文
posted @ 2017-06-27 11:19
2021年的顺遂平安君
阅读(236)
评论(0)
推荐(0)
摘要:
Array Initialization int[] a; = int a[]; int[] a = new int[100]; a[]的值会被初始化为0 `int[] smallPrimes = {2, 3, 5, 7, 11, 13}; new... 阅读全文
posted @ 2017-06-27 11:19
2021年的顺遂平安君
阅读(59)
评论(0)
推荐(0)
浙公网安备 33010602011771号