K5kC LogoK5kC | Code & More
Computer Science
AlgorithmsJavaProgramming LanguagesDatabaseSystem Design
Problems
Blind 75Algo KernelDifficulty: EasyDifficulty: MediumDifficulty: Hard
Videos
Projects
AndroidData ScienceComputer VisionSimulations
Tools
UUID GeneratorCode Formatter
Search⌘K

Core Java

Overview
OverviewConcurrency Utilities IntroOptimistic and Pessimistic Locking in JavaCompare and Swap CAS AlgorithmAtomic variables in javaAtomic Counters and AccumulatorsAtomicBooleanAtomicIntegerAtomicLongAtomicReferenceAtomicStampedReferenceAtomicIntegerArrayAtomicLongArrayAtomicReferenceArrayConcurrent CollectionsBlockingQueueBlocking vs Non-Blocking Queue AlgorithmsBlockingQueue in Java ConcurrencyArrayBlockingQueueLock Striping in Java ConcurrencyLinkedBlockingQueuePriorityBlockingQueueSynchronousQueueTransferQueueLinkedTransferQueueCreate Your Own BlockingQueueBlockingDequeLinkedBlockingDequeNon-blocking Thread-safe List – ConcurrentLinkedDeque ExampleConcurrentHashMapConcurrentHashMap vs Synchronized HashMap vs HashTable in JavaConcurrentSkipListMapConcurrentHashMap vs ConcurrentSkipListMapConcurrentNavigableMapCopyOnWriteArrayList7 Fork and Join using ForkJoinPoolParallelizationParallel StreamsParallelizing LoopsParallelizing RecursionParallel Array OperationsBlocking Operations in Thread PoolsSynchronizersCountDownLatch ExplainedCyclicBarrier ExplainedCountDownLatch vs CyclicBarrier in JavaSemaphoresExchanger in Java ConcurrencyLock-Based vs Lock-Free Concurrent AlgorithmsLocks & Condition Variables - Latency ImpactDeadlock vs Livelock vs StarvationStarvation and FairnessNested Monitor LockoutSlipped ConditionsClassic Concurrency ProblemsProducer Consumer Problem in JavaProducer Consumer 2 - Using wait notifyProducer Consumer 3 - Using BlockingQueueProducer-Consumer 4 - Using volatileProducer-Consumer 5 - Using SemaphoresThe Dining PhilosophersPrint Odd-Even Numbers Using Threads And SemaphorePrint Odd-Even Numbers Using Threads And wait-notifyThread Pool Executor ExampleCopyOnWriteArraySet
Access Modifiers and Inheritance
Class Inheritance with extends Keyword
Inheritance Types
Inheritance vs. Composition in Java
Multiple Inheritance in Java
Nested Classes and Inheritance
Inheritance
super keyword
Super VS This Keyword
Method Hiding
Abstract vs Final classes
Auto-Up Derived Casting
Call Parent Class Constructor in Java
Calling Super Class Methods with super Keyword in Java Method Overriding
Constructor Overriding Not Allowed
Derived Casting
Explicit Down Derived Casting
Field Overriding Not Possible
final Classes
How Java Compiler Generate Code for Overloaded and Overridden Methods
instanceof Operator Explained
instanceof With Downcasting
Method Overloading vs Overriding In Java
method overriding covariant return type
Method Overriding
Overloading, Overriding and Method Hiding
@Override Annotation
Computer Science
Java
Core Java
Java Concurrency
Java Concurrency Utilities (java.util.concurrent)
Exchanger in Java Concurrency

Exchanger in Java Concurrency

← PreviousJava SemaphoresNext →Lock-Based vs Lock-Free Concurrent Algorithms
PrivacyDisclaimerReport an IssueAbout

© 2026 K5kC | Code & More. All rights reserved.

चरैवेति चरैवेति | Keep moving on