Programming Languages

221 articles in this topic

Java Coding Interview Questions: Programs Asked in Service-Company Drives

Prepare the short Java programs that recur in fresher drives. Learn the core string, array, number and collections patterns, then trace an O(n) Two-Sum solution.

Updated 1 Aug 20265 min readJava

OOP in Python: Classes, Inheritance, the MRO Diamond and Dunder Methods for Interviews

Work through Python's MRO diamond and the __eq__ plus __hash__ rule. These two examples explain many of the OOP output questions asked in interviews.

Updated 1 Aug 20265 min readPython

Language Design in Programming Languages: Syntax, Types, Scope and a Worked Evaluation

Trace one expression from source text to a value, then compare the design rules that make scope, typing, evaluation and mutation behave differently.

Updated 31 Jul 20266 min readProgramming Languages Survey

Function Overloading and Default Arguments in C++: Rules and Runnable Examples

Learn why overloading and default arguments are different C++ mechanisms. Compile one invoice program, trace every call, and repair ambiguous code.

Updated 31 Jul 20266 min readC++

Command Line Arguments in C: argc and argv Tutorial with Runnable Examples

Learn how argc and argv carry command line input into a C program, then practise argument tracing, numeric conversion, validation, and common fixes.

Updated 30 Jul 20265 min read509 viewsC

OOPs Concepts in Java: Inheritance, Polymorphism, Abstraction and Encapsulation with Worked Interview Questions

Turn the four OOP pillars into predictable Java behaviour. Trace superclass references, subclass objects, overridden methods, hidden fields and common follow-ups.

Updated 30 Jul 20265 min readJava

String Problems in Python for Coding Rounds: Palindromes, Anagrams and Compression Solved

Python turns common string problems into one-liners, but interviewers usually remove that shortcut next. Learn the Pythonic and manual solutions for three recurring patterns.

Updated 30 Jul 20266 min readPython

HTML Basics: Complete Guide to Tags, Structure and a Worked Web Page

Learn what HTML elements mean, how a valid document fits together, and how to build and audit a complete profile page with fixed, traceable markup.

Updated 29 Jul 20266 min readProgramming Languages Survey

Virtual Functions and VTable in C++: Runtime Dispatch with Runnable Examples

Follow one C++17 shape program from virtual calls to a conceptual VTable trace. Then fix common override, slicing, and destructor mistakes.

Updated 28 Jul 20266 min read58 viewsC++

C Tutorial: The Complete Learning Path from First Program to Pointers and Projects

Learn C in dependency order, from compiling your first program to understanding pointers, allocating memory, reading files, and completing a useful project.

Updated 27 Jul 20266 min readC

JavaScript Interview Questions for Freshers 2026: Core Concepts, the DOM and ES6+

Prepare for JavaScript fresher interviews by reasoning through scope, closures, this, async execution, ES6+ and DOM behaviour. Includes the classic loop-closure trace.

Updated 29 Jul 20266 min readJava

Python Functions Deep Dive: *args, **kwargs, the Mutable Default Trap and LEGB Scope

Trace the shared-list default, unpack extra arguments, and follow Python's LEGB lookup so familiar function snippets stop producing surprising output.

Updated 29 Jul 20265 min readPython