In this tutorial you will learn fundamental Java features that will help you understand code in more advanced tutorials.
Java Basics Tutorial
- Java “Hello world!”
Obligatory the first program in any language!
Java primitive types
- Java Literals
Find out how to define numbers with Java 7 underscores! - Java primitive types sizes
Find out what are limits of Java numbers! - Java primitive types default values
Find out what are values of uninitialized Java types!
Object initialization
- Java Initialization order
What is initialization order of fields in Java.
Control structures
- Java foreach
Find out how basic iteration works in Java! - Java Switch Case
Learn how to use Java 7 switch case with enums and strings! - Java try with resources
Find out how to use Jana 7 try with resources to manage resources better!
Java String
- Java Split String in various ways
How to split String effectively and select the best approach. - String to int
Different ways to convert String to int in Java.
Eliminating warnings
- Java unchecked warnings
How to eliminate unchecked warnings correctly.