Cheatsheet for Java Programming Language, you can find all the syntax and stuff related to Java Language.
Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let application developers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}Java is a statically-typed language. This means that all variables must be declared before they can be used. The basic data types provided by Java are:
Java Data Types are divided into two groups:
- Primitive Data Types
- byte
- short
- int
- long
- float