Java Interview Question Bank
Practice quizzes organized by experience level — from Fresher basics to Senior-level concurrency, JVM internals, and system design.
Pick your level
Fresher, Mid-level, or Senior — jump straight to what matters for your interviews.
Take timed quizzes
MCQ format under time pressure — exactly how coding tests work.
Learn from mistakes
Every wrong answer shows a plain-English explanation so you actually understand it.
Select your experience level
Fresher — 0 – 2 years
Core Java, OOP fundamentals, and basic data structures — the foundation of every Java interview.
Java Fundamentals
5 quizzes · 100 questions
Java Variables & Data Types
Test your understanding of Java primitive types, variables, type casting, and memory basics.
Java Operators & Control Flow
Master Java operators, if/else, switch statements, and loops with practical examples.
Java Strings
Deep dive into Java String manipulation, immutability, StringBuilder, and common String methods.
Java Arrays
Learn Java arrays — declaration, initialization, traversal, sorting, and multi-dimensional arrays.
Java Classes & Objects
Understand how to create classes, instantiate objects, use constructors, and work with the this keyword.
Object-Oriented Programming
5 quizzes · 100 questions
Java Access Modifiers
Master public, protected, default, and private access modifiers, their scope, and best practices for controlling visibility in Java.
Java Encapsulation
Test your understanding of encapsulation, getters/setters, data hiding, immutability, and JavaBeans conventions in Java.
Java Inheritance
Test your understanding of Java inheritance, superclasses, subclasses, method overriding, and the super keyword.
Java Polymorphism
Master compile-time and runtime polymorphism, method overloading, dynamic dispatch, and casting in Java.
Java Abstraction & Interfaces
Test your knowledge of abstract classes, interfaces, default methods, functional interfaces, and design with abstraction in Java.
Collections Basics
2 quizzes · 40 questions
Java ArrayList
Test your knowledge of ArrayList: creation, manipulation, iteration, performance characteristics, and common pitfalls.
Java HashMap
Test your knowledge of HashMap: hashing, collisions, key-value operations, null handling, iteration, and performance.