Java Basics
- Variables in Java
- Java main() Method
- Java Access Modifiers
- Arithmetic Operators
- Bitwise Operators
- Equality, Relational, and Conditional Operators
- Primitive Data Types in Java
- Java if Statement
- Java Switch Case Statement
- Java for Loop
- Java while Loop
- Java do-while Loop
- Java continue Statement
- Java break Statement
Wrapper Classes Guide
Wrapper Classes Basics
Wrapper Classes API Guide
Java Arrays Guide
1. Java Array Basics Guide
- Array Overview
- Advantage of Java Array
- Disadvantage of Java Array
- Types of Array in java
- Array Simple Example
- Declaring an Array
- Creating an Array
- Initializing an Array
- Accessing an Array
- Shortcut Syntax to Create and Initialize an Array
- Copying Arrays using Built-in System.arraycopy() Method
- Copying Arrays Using Arrays.copyOf() Method
- Copying Arrays using Object.clone() Method
- Copying Arrays using Arrays.copyOfRange() Method
4. Convert Array to ArrayList
5. Convert ArrayList to Array
6. java.util.Arrays Class API Guide
5. Convert ArrayList to Array
6. java.util.Arrays Class API Guide
- Arrays Class Overview
- Convert Array to List
- Searching an Array
- Copying an Array
- Check Two Arrays are Deeply equal
- Filling values in an Array
- Sorting an Array
- String Representation of an Array
Read complete Arrays guide on Java Arrays Guide
Object-Oriented Programming
String Handling
- Java String Class API Guide
- Guide to Java String Constant Pool
- Guide to String Best Practices in Java (Best Practice)
- String Special Operations with Examples
- String Comparison Methods with Examples
- String Methods for Character Extraction
- String Searching Methods with Examples
- String Modifying Methods with Examples
- Java StringBuffer Class API Guide
- Java StringBuilder Class API Guide
Read complete String Handling in Java on String Handling API Guide
Exception Handling
Exception Handling Basics
Java Exception Handling GuideHow the Exception Handling Works in Java
Three Types of Exceptions in Java
Exceptions Hierarchy in Java
Java Chained Exceptions
java.lang.Throwable Class in Java
Exception Handling Keywords
Exception Handling Keywords in JavaJava try/catch block
Java throw Keyword
Java throws Keyword
Java finally Block
Exception Handling Advantages and Best Practices
The try-with-resources StatementAdvantages of Java Exceptions
Java Exception Handling Best Practices
Serialization in Java
Guide to Collections Framework
Interfaces
- Collections Framework - The Collection Interface
- Collections Framework - The Set Interface
- Collections Framework - The SortedSet Interface
- Collections Framework - The List Interface
- Collections Framework - The Queue Interface
- Collections Framework - The Deque Interface
- Collections Framework - The Map Interface
- Collections Framework - The SortedMap Interface
List Implementations
General-Purpose List Implementations:
Special-Purpose List Implementations:
Special-Purpose List Implementations:
Set Implementations
General-Purpose Set Implementations:
Special-Purpose Set Implementations:
General-Purpose Set Implementations:
Special-Purpose Set Implementations:
Map Implementations
General-purpose Map Implementations:
General-purpose Map Implementations:
Sorting
Aggregate Operations(Streams)
Collections Helper/Utility Classes
Best Practices and Examples
- Different Ways to Iterate over List, Set and Map in Java
- Java Collection Framework Best Practice (Best Practice)
- Guide to Java 8 forEach Method
- Difference between Array vs ArrayList in Java (interview)
- How the Size of the ArrayList Increases Dynamically? (interview)
- How To Remove Duplicate Elements From ArrayList In Java? (interview)
- Different Ways to Iterate over List, Set and Map in Java
- Java Collection Framework Best Practice (Best Practice)
- Guide to Java 8 forEach Method
- Difference between Array vs ArrayList in Java (interview)
- How the Size of the ArrayList Increases Dynamically? (interview)
- How To Remove Duplicate Elements From ArrayList In Java? (interview)
Java Generics Basics
Java Generics Examples
Java I/O
Java I/O Basics
File Handling Examples
List of the File examples to show the use of Java I/O to create, read, write, modify a file and get the file’s information.- Create File
- Write File
- Delete File
- Copy File
- Move File
- Rename File
- Append to File
- Read File using BufferReader
- Read File using BufferInputStream
- Read File using DataInputStream
- Get File Size in Bytes KB MB GB TB
File Serialization Examples
File Compression Examples
Directory
List of the directory manipulation examples.
File Utilities
Java I/O Reference
- https://docs.oracle.com/javase/tutorial/essential/io/index.html
- https://docs.oracle.com/javase/8/docs/api/java/io/package-tree.html
Read complete File handling in Java on Java I/O Guide
Java Reflection
- Overview of Java Reflection API
- Java Reflection for Classes
- Java Reflection for Methods
- Java Reflection for Fields
- Java Reflection for Constructors
- Java Reflection for Arrays
- Java Reflection for Enums
- Top Reflection Utility Methods
- Java Reflection Utility Class
Comments
Post a Comment
Leave Comment