- A static nested class is called 'Static Nested Class'. A NON static nested class is called 'Inner Class'
- Program to analyze, how shift operation based calculation is faster than mathematical operation based
- Simulator for 'OutOfMemoryError'
- Singleton using 'enum'
- How Repote Method Invocation(RMI) works
- How JVM method-inline optimization works
- Another example of JVM method-inline optimization
- Failed Hoisting example
- Successful Hoisting example
- Another successful Hoisting example
- How JVM finds the HotSpot and converts them into native instruction using JIT compiler
- Object size at runtime
- Primitive value size at runtime
- Unsafe objects using 'sun.misc.Unsafe' (Heap bypassing)
- Example of System.identityHashCode
- Usage of 'MethodHandles'
- Performance comparison between MethodHandle, Reflection, LambdaMetafactory and Direct method call
- Diamond operator(<>)
- Interface with 'default' method
- Interface with 'static' method
- Class with 'default' method
- Functional interfaces
- Runnable is a functional interface now (java.lang.FunctionalInterface)
- Predicate as functional interfaces
- Using 'Collections.sort' on Lambdas
- Using 'List.forEach' on Lambdas
- List Streaming example
- Usage of 'CountDownLatch'
- Usage of 'CyclicBarrier'
- Usage of 'Exchanger'
- Usage of 'Semaphore'
- Usage of 'Timer' and 'TimerTask'
- Example of failed concurrency
- Example of successful concurrency
- Example to find number of cores of a processor
- Example of blocking array implemented using 'ReentrantLock'
- Example of fork and join pool class 'ForkJoinPool'
- Stack
- Reverse a word using a stack
- Queue
- Circular Queue
- Linked Queue
- Priority Queue
- Linear Search
- Binary Search
- Bubble Sort
- Insertion Sort
- Selection Sort
- Binary Tree
- Armstrong Number
- Floyds Triangle
- Example on Hex Numbers
- Example on Prime Numbers
- Example on Random Numbers
- How to test a number is odd by using '%'
- Check if a string is anagram
- Check if a string contains DuplicateChars
- Get frequency of words in a string
- Get repeating and non repeating chars from a string
- Find the Levenshtein distance between two strings