Java
93 articles in this topic
Varargs in Java: Syntax, Array Behaviour and Overloading Traps
One Java method can accept zero, one or several arguments. Trace how varargs use arrays, see when mutations affect the caller, and distinguish compilation errors from runtime exceptions.
Java Introduction and JDK Setup Interview Questions: Compile, Run and Debug
Explain what happens between a Java source file and its output. Practise terminal setup checks, trace a two-number program and repair package, classpath and version errors.
Java Variables, Data Types and Loops MCQs: 12 Solved Questions with Output Traces
Trace 12 Java MCQs on variables, primitive and reference types, literals, expressions and loop syntax. Each answer includes the rule and exact output.
Java Operators and Type Conversion MCQs: 10 Solved Questions with Output Traces
Practise ten Java questions on relational, logical, arithmetic, bitwise and equality rules. Each solution follows operand types, values and side effects.
Variables, Data Types and Loops in Java: Worked Traces and Exam Traps
Learn to trace Java programs by tracking each variable's type, scope and current value through every condition and update.
Java Executor Framework Interview Questions: Thread-Pool Traces and Coding Problems
Trace tasks through bounded Java thread pools, calculate Future results, explain rejection, and repair common Executor Framework mistakes.
File Handling in Java: Read, Write, Append and Copy Files Safely
Learn how Java's Path, Files, character streams and byte streams fit together. Build a score file, aggregate its rows, and copy binary data safely.
Java Cross-Concept Problems: Generics, Polymorphism, Collections and Exceptions
Learn a fixed reading order for Java problems that mix declared types, runtime dispatch, generic wildcards, list mutations, comparator sorting and exception control flow.
Java GUI Programming with Swing and AWT: Components, Events and Exam Traps
Learn one reliable way to read Java GUI code: map the container and layout, place each component, then trace the listener on the EDT. A complete Swing marks calculator connects the model to common objective and code-trace traps.
Database Connectivity in Java MCQs and Short Answers: 11 Solved JDBC Questions
Solve 11 current JDBC question-bank records with a clear dependency map. The set covers four driver types, API roles, connection setup, compile-time and runtime failures, and the right method for SELECT.
Java Operators and Type Conversion: Rules, Traces and Traps
Trace Java expressions by operand type, promotion, evaluation order and final conversion. Worked examples expose the output and compile-time traps that mental arithmetic misses.
JVM Architecture and Lifecycle: Class Loading, Memory Areas and a Worked Bytecode Trace
Follow one Java program from its class files through loading, linking, initialization, stack frames, heap reachability and JVM shutdown.













