什么是静态ArrayList?

时间:2016-11-29 21:38:23

标签: java arrays arraylist

考虑下面的ArrayList:

SELECT Table1. ID1, Count(Table2.Test2) AS CountOfTest2, Count(Table3.Test3) AS CountOfTest3
FROM (Table1 INNER JOIN Table2 ON Table1.ID1 = Table2.ID2) 
INNER JOIN Table3 ON Table1. ID1 = Table3.ID3
GROUP BY Table1.ID1;

在ArrayList之前拥有静态是什么意思?

1 个答案:

答案 0 :(得分:1)

Java中变量之前的关键字static表示它由该特定类的所有实例共享。