Java Exercises for Beginners | 20 Questions & Solutions

Опубликовано: 29 Июль 2026
на канале: Murat Öksüzer
1,331
12

If you're a java beginner or preparing to java interviews this video will help you. 20 questions and a final capstone project at the end will move you ahead in Java.
This covers user input & output, string operations, conditional statements, methods, arrays, object-oriented concepts, interfaces, collections, exception handling, file handling, java streams and lambda expressions and more!

  / murat_dev01  
  / murat-%c3%b6ks%c3%bczer-bb856644  

If you found this video helpful, you can buy me a coffee:
☕ https://www.buymeacoffee.com/muratoks...

0:00 Intro
0:14 How to get most out of this course
0:38 BigDecimal usage exercise
3:56 String template and replace exercise
6:48 Get input from user via command line (Scanner)
10:16 Number guessing game (Random usage)
13:06 Treasure hunt game (2 dimensional array exercise)
20:09 Mining operators game (Object oriented programming exercise)
25:54 Functional interface - Lambda
27:09 Default & Static methods in interfaces
28:35 Comparable vs Comparator
31:39 In-memory LRU cache (collections exercise)
44:38 Checked vs Unchecked exceptions
47:14 Throw and Throws
48:36 Custom exception
51:55 File reader with Try-Catch-Finally
54:35 List files in a directory
57:12 Reading a CSV file line by line
1:00:52 Write into a journal file
1:03:32 Filter even numbers (Streams and Lambda exercise)
1:04:23 Map to uppercase (Streams and Lambda exercise)
1:05:30 Distinct and collect (Streams and Lambda exercise)
1:06:16 Gradebook Manager - the final capstone project