Java practice tasks

Coding exercises and interview-style problems. Work through real tasks from basics to collections and algorithms — sorted by topic and level.

How to Create and Run Your First Java Application

Beginner Java Core

Learn how to create and compile a Java project with multiple packages. This guide covers creating Car, Engine, and Driver classes, using command-line arguments,

⏱ ~20 min Open →

Java Syntax Basics: Variables, Identifiers, and Structure

Beginner Java Core

Improve your Java skills with hands-on lexicon practice tasks. Learn about comments, literals, type conversion, and user input handling.

⏱ ~20 min Open →

Basic Operations in Java: Arithmetic and Logical

Beginner Java Core

Learn Java with beginner-friendly tasks: checking even numbers, finding absolute minimum, simulating a garland, and calculating average.

⏱ ~20 min Open →

Sorting Algorithms in Java: Basics and Examples

Beginner Java Core

Learn how to debug, analyze, and improve Bubble Sort and Selection Sort algorithms in Java. Step-by-step tables, tasks, and code optimization tips.

⏱ ~20 min Open →

Operators

Beginner Java Core

Practice Java basics with beginner coding tasks using if, switch, for, while, and do-while. Great for students and interview prep.

⏱ ~20 min Open →

Arrays in Java: How to Create and Use Them

Beginner Java Core

Explore Java array exercises for beginners: create and initialize 1D and 2D arrays, find min and max values, and use System.arraycopy().

⏱ ~20 min Open →