Java

75 articles in this topic

Arrays in Java: Declaration, Traversal, 2D Arrays and Worked Examples

Build a correct mental model of Java arrays, then trace sums, aliases, jagged rows, sorting, binary search and common mistakes through exact examples.

Updated 30 Oct 20266 min readJava

DOM Manipulation in JavaScript: Build an Interactive Study Planner

Build a study planner while learning to select nodes, update safe content, delegate clicks, add tasks, and verify every visible total.

Updated 6 Sep 20265 min readJava

JavaScript Basics: Variables, Functions, Arrays and DOM

Learn the language rules behind JavaScript output questions, then follow one complete example from an array of scores to visible DOM nodes.

Updated 5 Sep 20265 min readJava

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.

Updated 30 Oct 20266 min readJava

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.

Updated 2 Sep 20265 min readJava

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.

Updated 31 Aug 20265 min readJava

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.

Updated 30 Oct 20265 min read52 viewsJava

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.

Updated 29 Aug 20265 min readJava

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.

Updated 26 Aug 20265 min readJava

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.

Updated 30 Oct 20266 min readJava

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.

Updated 30 Oct 20266 min read56 viewsJava

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.

Updated 30 Oct 20266 min readJava