摘要:
package com.lqx.util; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; public class Hibernat 阅读全文
posted @ 2021-07-10 09:14
海风不咸
阅读(31)
评论(0)
推荐(0)
摘要:
稀疏数组 public class Demo08 { public static void main(String[] args) { //稀疏数组,表示一个棋盘, int[][] array1 = new int[11][11]; array1[1][2] = 1; array1[2][3] = 阅读全文
posted @ 2021-07-10 09:08
海风不咸
阅读(45)
评论(0)
推荐(0)
摘要:
冒泡排序 public class Demo07 { public static void main(String[] args) { int[] a = {52,32,62,42,84,26,35,47,65}; int[] ints = sortArray(a); System.out.prin 阅读全文
posted @ 2021-07-10 09:05
海风不咸
阅读(52)
评论(0)
推荐(0)
摘要:
什么是数组 数组(Array)是有序的元素序列。 若将有限个类型相同的变量的集合命名,那么这个名称为数组名。组成数组的各个变量称为数组的分量,也称为数组的元素,有时也称为下标变量。用于区分数组的各个元素的数字编号称为下标。数组是在程序设计中,为了处理方便, 把具有相同类型的若干元素按有序的形式组织起 阅读全文
posted @ 2021-07-10 09:04
海风不咸
阅读(78)
评论(0)
推荐(0)

浙公网安备 33010602011771号