Programming Languages
283 articles in this topic
Lambda Expressions in Java: From Syntax to Streams with Runnable Examples
Learn Java lambdas from an anonymous class onward, then trace target types, stream operations, captured variables and common compiler failures with exact outputs.
Python Virtual Environments and Pip: A Runnable Project Setup Tutorial
Build two isolated Python projects from zero, check exactly where pip installs a package, and reproduce a working setup from a requirements file.
Imperative Programming Structure and Flow Control: Concepts, Trace Table and Exam Traps
Learn how commands change state, how branches and loops choose the next command, and how to trace continue and break without losing track of values.
Data Types in C++: Fundamental and Derived Types with Worked Examples
Learn how C++ fundamental types differ from arrays, pointers, references, and function types. Trace one complete program, then test the conversion traps.
JVM Architecture in Java: Class Loading, Memory Areas and a Bytecode Trace
Trace a runnable Java program from source to class files, class initialization, run-time memory areas and selected bytecode instructions.
Python Testing with unittest and pytest: Runnable Tests, Fixtures and Mocks
Build one score-normalisation example from a plain Python function into unittest and pytest suites, then add fixtures, tmp_path, mocks and boundary exercises.
Elementary Data Types, Constants, Variables and Expressions: A Worked Evaluation Guide
Trace a typed pseudocode example from declarations to stored results, then see how assignment, precedence and conversion change the answer.
C++ Constructors and Object Initialization: Techniques, Order and a Worked Trace
Learn how C++ chooses default, parameterised, delegating and copy constructors, then trace member states and initialization order through complete code.
Functional Interfaces in Java: SAM Rules, Lambdas and Runnable Examples
Build functional interfaces from zero, replace an anonymous class with a lambda, select standard interfaces by shape, and avoid common compiler traps.
Regular Expressions in Python: A Runnable Tutorial from First Match to Log Parser
Learn Python regex by running small examples, reading exact match spans and building a structured parser for three log records.
Static vs Dynamic Binding: Compile-Time Selection and Runtime Dispatch with a Worked Java Trace
See exactly what the Java compiler selects and what the runtime receiver can change. One program, six outputs, and declared-type variations make the two stages visible.
Virtual Functions MCQs: 11 Solved C++ Runtime Polymorphism Questions
Test C++ virtual dispatch with 11 solved exam MCQs, worked explanations and three code traces covering final overriders and safe base-class destruction.













