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 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!
- Java Initialization order
What is initialization order of fields in Java.
- Java foreach
Find out how basic iteration works in Java!
- Java List types and their methods
Learn this fundamental data structure!
- 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 Split String in various ways
How to split String effectively and select the best approach.
- Java unchecked warnings
How to eliminate unchecked warnings correctly.