← Learn to Code — Python, Java, C, SQL & Web
Java Practice
Coding challenges from 1★ to 5★.
java 30 Lessons
Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English.
Lessons in this course
No lessons match. Clear the search or choose another filter.
- 01 Print a word 1 required task · ★
- 02 Print another word 1 required task · ★
- 03 Print a sentence 1 required task · ★
- 04 Print with a ! 1 required task · ★
- 05 Print two lines 1 required task · ★
- 06 Print a number 1 required task · ★
- 07 Add two numbers 1 required task · ★
- 08 Subtract 1 required task · ★
- 09 Multiply 1 required task · ★
- 10 Divide 1 required task · ★
- 11 Remainder 1 required task · ★
- 12 A number variable 1 required task · ★
- 13 A text variable 1 required task · ★
- 14 Add two variables 1 required task · ★
- 15 Your first method 1 required task · ★
- 16 Is it positive? 1 required task · ★
- 17 Cube a number 1 required task · ★
- 18 The smaller one 1 required task · ★
- 19 Square a number 1 required task · ★
- 20 Largest of three 1 required task · ★
- 21 Count the vowels 1 required task · ★★
- 22 Reverse the word order 1 required task · ★★
- 23 Palindrome check 1 required task · ★★★
- 24 Running sum 1 required task · ★★★
- 25 Most frequent character 1 required task · ★★★
- 26 Binary search 1 required task · ★★★
- 27 Factorial (mind the size) 1 required task · ★★★★
- 28 Count primes below n 1 required task · ★★★★
- 29 Roman numerals 1 required task · ★★★★★
- 30 Longest common prefix 1 required task · ★★★★★