Java
24 articles in this topic

Inner Classes in Java: Types, Scope Rules and Four Runnable Examples
Learn when Java nested types need an outer object, what they can capture, and how scope resolution works through four runnable programs and one short trace.

JavaScript Strings Tutorial: Methods, Template Literals, and Runnable Examples
Learn strings from their delimiters and zero-based indexes through searching, cleaning, and coercion. Each example is runnable, including a complete input-to-key transformation.

Java Iterators and Comparators: Runnable Examples, Sorting Rules and Common Traps
Learn when to use Iterator, Comparable and Comparator through one Java 17 Student example, exact outputs, cursor traces and safe sorting rules.

Java Concurrent Collections Tutorial: Runnable Map, List, and Queue Examples
Choose a Java concurrent collection from its access pattern, then run three deterministic examples that show atomic updates, snapshot traversal, and bounded hand-off.

StringBuilder and StringBuffer in Java: Differences, Methods and Runnable Examples
Learn how Java's mutable text classes change character sequences, where their indexes matter, and when method-level synchronisation changes the right choice.

Map, Set and WeakMap in JavaScript: Runnable Examples and Common Errors
Choose the right JavaScript collection by tracing a stock Map, deduplicating IDs with Set, and attaching object-owned metadata with WeakMap. Includes output traps and self-checking exercises.

JavaScript Tutorial: The Complete Learning Path from First Script to Real Projects
A beginner-friendly JavaScript roadmap that puts 30 topics in dependency order, then tests the sequence through one marks-report example and three checkpoints.

Java Tutorial: The Complete Learning Path for Self-Study
Learn Java in the right order, from your first compiled program to OOP, collections, and DSA. Each stage includes a practical target and an honest exit check.

JavaScript Array Methods: map, filter, reduce and the Interview Problems They Solve
Work through a filter-map-reduce chain and a frequency-table accumulator, then separate non-mutating array methods from the methods that change their input.

var vs let vs const in JavaScript: Scope, Hoisting and the Temporal Dead Zone
Trace block scope, early reads, loop callbacks, and const object mutation using the rules behind common JavaScript output questions.

this Keyword in JavaScript: call, apply, bind and Arrow Functions with Interview Traps
Determine this from the call site, compare explicit binding methods, and see why arrows behave differently in callbacks and object methods.

JavaScript Promises and async/await Explained: Error Handling, Execution Order, and Output Questions
Build a precise call-stack and queue model, use it to predict six output lines, and see why one missing await can move a rejection beyond try/catch.