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

OverviewBoolean Data TypeChar Data TypeClassCastException In JavaDouble Data TypeFloat Data TypeInt Data TypeLong Data TypeNarrowing (Explicit) Primitive ConversionNon-Primitive (Reference) Data TypesPrimitive Data TypesWidening or Automatic Primitive Type Converion
Synchronous vs Asynchronous Execution
Callable Tasks Reference
Tasks and Executors Overview
Publishing, Escape and Thread Confinement
Exceptions and Threads
Thread.yield()
CompletableFuture
Executors and Fixed Thread Pools
The Main Thread
ThreadLocal as a Container
Thread Safety Issue: Visibility
Atomicity and Locking
Thread Safety Issue: Race Conditions
Types of Threads in Java
UI Callbacks
Thread Safe vs Thread Compatible
Interrupts and Join
Print Numbers Sequentially Using Even and Odd Threads
Deadlock, Livelock and Starvation Basics
Using wait and notifyAll to Coordinate Threads
Thread State Methods
Concurrency and Synchronization
7 Things Every Java Programmer Should Know About Threads In Java
Thread Priorities
Always terminate the thread which it is interrupted
Assembly Line Concurrency Model
Asynchronous Tasks
Binary Semaphore vs Reentrant Lock
Callable and Future in Java concurrency
Callable Future
Callable
Calling run() instead of start()
Can two threads call a synchronized method and normal method at the same time
Can we Start The Same Thread Twice in Java
Concurrency Evolution and Topics
Concurrency Models and Distributed System Similarities
Concurrency Models
Busy Waiting
What Is Thread Safety?
Concurrency vs Parallelism
CPU Cache Coherence in Java Concurrency
Create Java Thread by Extending Thread class
Create Java Thread by implementing Runnable
Data Race Problem
Deadlock between Threads
Deadlock Prevention in Java
ExecutorCompletionService
ExecutorService
False Sharing in Java
Functional Parallelism Concurrency Model
Future Explained
FutureTask Example Program
Get current Java Thread with Thread.currentThread method
Good practices to use synchronized blocks
Happens-Before Guarantee
How to Synchronize ArrayList, HashSet and HashMap
How to write deadlock and resolve in java
Inter-Thread Communication
Issues with Synchronization
Composing Thread-Safe Objects
Lock
Lock Reentrance
Lock vs monitor in java
Locks in Java
Monitors – The Basic Idea of Java Synchronization
notify() and wait() examples
notify vs notifyAll In Java
Objects as Locks
Parallel Workers Concurrency Model
Pause Java Thread
Race Conditions and Critical Section
Read Write Locks in Java
ReadWriteLock
Reentrance Lockout
ReentrantLock and Conditions
Runnable vs Callable in Java
ScheduledExecutorService
Setting And Getting Java Thread Name And Thread ID
Shared State VS Separate State in Concurrency Models
Statement Reordering and Visibility
Stop Java Thread
Synchronized Blocks
synchronized Keyword
Synchronous Tasks
Task Scheduling with Executors - ScheduledThreadPoolExecutor Example
run() vs start() Quiz
Thread Class
Thread Class Intro
Thread Creation
Thread Dump
Thread - Interrupts and Join
Thread Join
Thread Life Cycle and States in Java
Thread Name - Get and Set
Thread Properties or Attributes Intro
How to Build a Thread-Safe Class
Thread Safety and Immutability
Thread Safety and Shared Resources
Thread Safety in Java
Thread Safety Issues
Thread Safety Strategies
Thread Scheduling - Priority Of A Thread In Java
Thread Signaling
Difference Between sleep() and wait()
Thread Subclass OR Runnable Implementation for Thread Creation
Thread Termination in java
Thread wait, notify and notifyAll Example
ThreadLocal Example - When and How to Use
ThreadLocal
ThreadPoolExecutor and BlockingQueue Example
ThreadPoolExecutor + Callable + Future Example
ThreadPoolExecutor
ThreadPoolExecutor - Java Thread Pool Example
Threads
User Threads vs Daemon Threads in Java
Virtual Threads
volatile keyword
Which Concurrency Model is Best
Why wait(), notify() And notifyAll() Methods Are in Object Class And Not in Thread Class
Why wait(), notify() And notifyAll() Must be Called Inside a Synchronized Method or Block
Computer Science
Java
Core Java
Java Data Types
Java Char Data Type

Java Char Data Type

← PreviousJava Boolean Data TypeNext →ClassCastException In Java
PrivacyDisclaimerReport an IssueAbout

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

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