二维数组可以直接看做是一个几行几列 而且可以是分别显示在行列中的一个矩阵 int[][] arr= new int[4][];//定义一个行数为4的二维数组for (int i = 0; i <4 ; i++) { arr[i] = new int[4-i];//每列的的长度为4-i for (in ...
分类:
编程语言 时间:
2021-05-25 18:32:56
阅读次数:
0
public class Point { int x; int y; public Point(int x0, int y0) { super(); this.x = x0; this.y = y0; } public Point() { super(); } public void movePoi ...
分类:
其他好文 时间:
2021-05-25 18:20:04
阅读次数:
0
photoshop javascript window 的一个例子 参考连接:Photoshop scripts · GitHub // Open Recent Files - Adobe Photoshop Script // Description: displays a Recent File ...
分类:
编程语言 时间:
2021-05-25 18:18:28
阅读次数:
0
C# 获取GUID using System; namespace GUID测试 { class Program { static void Main(string[] args) { //产生一个新的GUID并输出 Console.WriteLine(System.Guid.NewGuid()); ...
Jdbc连接数据库1.建立与数据库的连接1.1导入jdbc包1.2加载JDBC驱动java.lang.Class.forName(JDBCDriverClass);Class.forName(driver);MySQL的加载驱动Class.forName(com.mysql.jdbc.Driver) ...
分类:
数据库 时间:
2021-05-25 18:04:43
阅读次数:
0
public class ForDemo2 { public static void main(String[] args) { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= i; j++) { System.out.print(i+ "*" ...
分类:
其他好文 时间:
2021-05-25 17:50:06
阅读次数:
0
Mac本身安装了ssh服务,但是默认情况下不会开机自启,因此当我们需要用到ssh相关的功能时,只需以下一条命令即可。 1、启动sshd服务 sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist 2、查看是否启动 sudo lau ...
分类:
系统相关 时间:
2021-05-25 17:36:11
阅读次数:
0
1、OS模块 函数/变量 描述 os.environ 系统的环境变量 os.system(command) 在子shell中执行操作系统命令, 注意使用双引号,没有加入系统环境变量的应用,要使用全路径,否则直接使用可执行程序如pycharm64.exe os.sep 路径中使用的分隔符 os.pat ...
分类:
编程语言 时间:
2021-05-24 17:23:30
阅读次数:
0
String类概述 String表示字符串,所有的字符串字面值都是常量(如"abc","hello"),也是字符串的对象。 字符串对象有两种形式 String s1="abc" 这就是一个字符串对象 String s2=new String("abc") 这也是一个字符串对象 两种创建对象的区别 1 ...
分类:
编程语言 时间:
2021-05-24 17:06:04
阅读次数:
0
1、svn check out/update u3d工程 2、调用u3d插件Invoke Unity3d Editor插件打包生成apk 步骤如下 创建任务 配置svn,配置参考:https://www.cnblogs.com/wangle/p/14787191.html 接下来u3d插件Invok ...
分类:
编程语言 时间:
2021-05-24 16:49:07
阅读次数:
0