Java is one of the most popular programming languages for developing all kinds of desktop applications, web applications and mobile apps. The following articles will help you quickly become familiar with Java language and move towards more complex concepts such as API and cloud development.
1. Java Language Basics
Start with syntax and the basic building blocks of the Java language.
- Java Introduction
- Java Installation
- Naming Conventions
- Java Keywords
- Java Hello World Program
- Java main() Method
- Java Operators
- Java Variables
- Java Data Types
- Java Primitive Types
- Java Comments
- Block Statements
- Pass-by-value or Pass-by-reference
2. Flow Control Statements
Learn to write statements and control the flow of the programs.
- Java if-else
- Java switch
- Ternary Operator
- Java for loop
- Java for-each loop
- Java while loop
- Java do-while loop
- Java break Keyword
- Java continue Keyword
- Labeled Statements
3. Java OOP
Learn to create, arrange and manage objects and their relationships in Java.
4. Java Strings
Strings are always the most used constructs in any programming language. Learn to work on String in Java.
- Guide to String Class
- Java String Constant Pool
- Why Strings are Immutable in Java?
- Splitting a String
- Joining the Strings
5. Java Exceptions
A program can raise errors due to errors in the program as well as runtime errors in the execution environment. Learn to handle both.
- Java try-catch-finally blocks
- Java Try with Resources
- Java throw and throws Keywords
- Checked and Unchecked Exceptions
- Java Custom Exceptions
- Java Synchronous and Asynchronous Exceptions
- Java NullPointerException
- Java Suppressed Exceptions
- Exception Handling Best Practices
6. Java Array
Arrays are the most basic container of multiple elements. Learn to work on arrays in Java.
- Guide to Array in Java
- Printing an Array
- Cloning an Array
- Copying Array Range
- Intersection of Two Arrays
- Union of Two Arrays
7. Java Collections
Apart from the array, Java supports more advanced collection types.
8. Java IO
Learn the most basic read-and-write operations on files in Java.
9. Java Streams
Streams are a rather new addition to the language but have made it super easy.
10. Java Runtime
Learn to set up and interact with the Java development environment.
- JDK vs. JRE vs. JVM
- Java 32 bit vs 64 bit
- java.exe vs javaw.exe
- Java Classpath
- System Properties
- Command-Line Arguments
- Little-Endien vs Big-Endien
- Generating Bytecode
11. Misc Topics
- Builder Pattern for Java Records
- Java Annotations Tutorial
- Guide to Java Cloning
- Java Versions and Features
12. Java Examples
Happy Learning !!