我有2个文件public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int[][] myArray;
Journal5b j5b = new Journal5b();
myArray = j5b.createArray(10, 10);
j5b.print2DArray(myArray);
int val;
System.out.println("Enter the number to search for ");
val = in.nextInt();
//get the ArrayList from countInstance
ArrayList<Integer> countList = j5b.countInstance(myArray, val);
//you can get the number of countInstances by getting the size of the ArrayList
System.out.print("Your Number popped up " + countList.size() + " times");
System.out.print(" and is located on row ");
//Print the values returned by countInstance as desired
for (int i = 0; i < countList.size(); i++) {
System.out.print("" + countList.get(i));
if (i < (countList.size() - 1)) System.out.print(",");
}
}
和/test/test.script
。 /test/test.properties
约为55 MB。
我需要查看此文件中的表和数据。我尝试使用Squirrel客户端URL test.script
,但我在公共模式中没有看到任何表。
如何查看jdbc:hsqldb:file:/test
文件中的表格和数据?
我甚至试过.script
答案 0 :(得分:0)
当脚本文件为/test/test.script
时,您的文件网址应为:
jdbc:hsqldb:file:/test/test