Java は 3 つのシステムに分かれています。

JavaSE (J2SE) (Java2 Platform Standard Edition、Java platform Standard Edition)

JavaEE (J2EE) (Java 2 Platform、Enterprise Edition) )、Java platform Enterprise Edition)

JavaME (J2ME) (Java 2 Platform Micro Edition、Java platform micro edition)。

Java変數(shù)の型 構(gòu)文

Java 言語(yǔ)では、すべての変數(shù)を使用前に宣言する必要があります。

Java変數(shù)の型 例

パブリック クラス変數(shù){
static int allClicks=0; // クラス変數(shù)
?
String str="hello world"; // インスタンス変數(shù)
?
パブリック void メソッド(){
?
Int i = 0; // ローカル変數(shù)
?
}}