GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Java Tutorial
  • Advanced Java
  • Interview Questions
  • Exercises
  • Examples
  • Quizzes
  • Projects
  • Cheatsheet
  • DSA in Java
  • Java Collection
  • Start Coding
  • Java Comments
  • Print With Separator
  • Taking Input

This view

  • Original page
  • New address

GeezerVison is showing www.geeksforgeeks.org — Java Coding Practice Problems - GeeksforGeeks

geeksforgeeks
search icon
  • Courses
  • Tutorials
  • Interview Prep
  • Java Tutorial
  • Advanced Java
  • Interview Questions
  • Exercises
  • Examples
  • Quizzes
  • Projects
  • Cheatsheet
  • DSA in Java
  • Java Collection

Java Coding Practice Problems

Last Updated : 24 Oct, 2026

This collection of Java coding practice problems helps improve your programming and problem-solving skills through topic-wise exercises and quizzes. These problems strengthen your understanding of core Java concepts and provide hands-on coding practice for interviews and real-world development.

  • Topic-wise coding practice problems and quizzes
  • Instant feedback for compiler errors and output mismatches
  • Helps improve coding logic and Java programming skills

Topic-wise Java Coding Practice Problems

Explore topic-wise Java coding practice problems designed to strengthen your programming fundamentals, improve problem-solving skills, and prepare you for coding interviews and real-world development.

Basic Java Problems

  • Start Coding
  • Java Comments
  • Print With Separator
  • Taking Input
  • Arithmetic Operators
  • Swap The Numbers

For more problems and coding practices visit Java Fundamentals Coding Practice Problems.

Conditional Statements and Loops Problems

  • If Statement
  • Decision Making
  • Switch Statement
  • For Loop
  • While Loop
  • Do-While Loop

For more problems and coding practices visit Java Conditional Statements and Loops Coding Problems.

Methods Problems

  • Method with Return Type
  • Method Without Return Type
  • Function wIth Arguments
  • First Digit of a Number
  • Prime Number Check
  • Armstrong Number

For more problems and coding practices visit Java Methods Coding Practice Problems.

Array Problems

  • Array Traversal
  • Sum of Array Elements
  • Find Maximum Element
  • Reverse an Array
  • Copy Array Elements
  • Sort an Array

For more problems and coding practices visit Java Array Coding Practice Problems.

String Problems

  • Reverse a String
  • Check Palindrome
  • Count Vowels
  • String Concatenation
  • Convert Uppercase to Lowercase
  • Find Duplicate Characters

For more problems and coding practices visit Java Strings Coding Practice Problems.

Object-Oriented Programming Problems

  • Design a Class
  • Overloading
  • Overloading
  • Inheritance
  • Encapsulation
  • Abstraction

For more problems and coding practices visit Java OOP Coding Practice Problems.

Collection Framework Problems

  • ArrayList Operations
  • HashMap Operations
  • Stack Operations
  • Queue Operations

For more problems and coding practices visit Java Collection Framework Coding Practice Problems.

Stream & Lambda Expression

  • Lambda Expression
  • Streams Sum
  • Streams Max
  • Streams Average

For more problems and coding practices visit Java Stream & Lambda Expression Coding Practice Problems.

Sorting and Searching Algorithms

  • Bubble Sort
  • Merge Sort
  • Binary Array Sorting
  • Binary Search Method

For more problems and coding practices visit Java Sorting and Searching Algorithms Coding Practice Problems.

Java Quizzes

  • Topic wise Java Quiz
Comment

Explore

    Basics
    • Introduction3 min read
    • Variables2 min read
    • Data Types7 min read
    • Operators7 min read
    • Decision Making5 min read
    • Methods7 min read
    • Arrays7 min read
    • Strings5 min read
    OOP & Interface
    • Introduction6 min read
    • Constructors6 min read
    • Encapsulation3 min read
    • Inheritance8 min read
    • Polymorphism5 min read
    • Abstraction5 min read
    • Interfaces8 min read
    Collections
    • Collection class9 min read
    • Collection Interface5 min read
    • List Interface8 min read
    • Set Interface5 min read
    • Queue Interface5 min read
    • Map Interface in Java6 min read
    • Iterator4 min read
    Advance Java Concepts
    • Exception handling6 min read
    • Java Multithreading Tutorial3 min read
    • Synchronization in Java9 min read
    • File handling6 min read
    • Method References3 min read
    • Java 8 Stream Tutorial7 min read
    • Memory Management4 min read
    • Garbage Collection in Java6 min read
    • Networking6 min read
    • JDBC5 min read
    Practice Java
    • Interview Questions15+ min read
    • Programs6 min read
    • Practice Problems5 min read
    • Quiz1 min read
    • Project Ideas15+ min read
    Courses
    • Java Backend Course2 min read
    • Placement 360 Course2 min read
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.