Java is divided into three systems:

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 variable types syntax

In the Java language, all variables must be declared before use.

Java variable types example

public class Variable{
static int allClicks=0; // class variable
​
String str="hello world"; // Instance variables
​
Public void method(){
​
Int i = 0; // Local variables
​
}}