Java
45 articles in this topic

Methods in Java: Syntax, Parameters, Return Values and Examples
Build and trace a complete Java score program, then learn how arguments, return types, void methods, instance calls and overloads work.

Loops in Java Tutorial: for, while, do-while and Worked Examples
Build one reliable control-flow model for every Java loop. Trace runnable examples, avoid boundary and update errors, and practise counting executions.

Conditionals in Java: if, else if, switch and Worked Examples
Learn Java conditionals by tracing one student-result program from its inputs to its grade, eligibility, scholarship and lab-day outputs.

Variables and Primitive Types in Java: Declarations, Conversions and Worked Examples
Learn how Java declares variables, represents all eight primitive types, promotes operands and handles casts. Then trace a complete program and correct common output traps.

Java Strings and String Pool: Literals, intern(), == and equals() with Worked Examples
Trace pooled and non-pooled Java String references, compare identity with content, and learn to count objects without hiding the assumptions.

Java JDK Setup: Install, Verify and Run Your First Program
Install Java with proof that your compiler and runtime agree. This tutorial separates JDK, JRE and JVM, then traces one program from source to exact output.

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.

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.

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.

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.