How to Create and Run Your First Java Application
Practice tasks: compile and run your first Java application from the command line, pass arguments to main(), build a JAR and add it to the classpath with -cp.
Coding exercises and interview-style problems. Work through real tasks from basics to collections and algorithms — sorted by topic and level.
Practice tasks: compile and run your first Java application from the command line, pass arguments to main(), build a JAR and add it to the classpath with -cp.
Practice Java syntax with hands-on tasks: literals, primitive type casting table, calculator methods, and reading user input with Scanner. With solutions.
Practice Java operations with four tasks: even number check, minimum by absolute value, a bitwise garland, and averaging numbers. Solutions included.
Practice Java basics with beginner coding tasks using if, switch, for, while, and do-while. Great for students and interview prep.
Java array exercises for beginners: create 1D and 2D arrays, find max and min, use Arrays.binarySearch() and System.arraycopy(). With solutions.
Nine hands-on Java algorithm exercises: array average, Fibonacci numbers, Big O complexity, the swap method, array reversal, Bubble and Selection Sort, linear and binary search.