Back to Browse

Java Exercises Advanced Level | 21 Questions and 1 Final Project with Solutions

1.6K views
Oct 1, 2025
1:37:15

►If you found this video helpful, you can buy me a coffee: ☕ https://www.buymeacoffee.com/muratoksuzer 🔥 Java Exercises Advanced Level - 21 Questions and 1 Final Project with Solutions We’ll cover hands-on coding examples in: ● Database operations with JDBC ● Multithreading & concurrency basics ● Networking with sockets ● Memory leak simulation & fixes ● Reflection API practical uses ● Generics for type safety ● Finally, we’ll build a capstone project: Mini Job Server that combines all these advanced concepts in one practical example. 🚀 Perfect for developers moving to the advanced level, this video challenges you with real Java exercises while preparing you for technical interview questions. 🔥 Master Java faster with hands-on coding challenges! Video links mentioned in the tutorial: ● Java Exercises For Beginners https://www.youtube.com/watch?v=J4UzckqdV-4&list=PLzIvGBaDt2ybI_Ixnlwppi0kwQkKZeanS&index=2 ● PostgreSQL with docker-compose and DBeaver https://www.youtube.com/watch?v=_F2NlZIa0dg&list=PLzIvGBaDt2yYNhWjnpJe2D4IGnvcehoTd&index=2 ● Memory Leak Troubleshooting in Java https://www.youtube.com/watch?v=-fAN9puQY3o&list=PLzIvGBaDt2yYiffDFgyZqtngptnBp6gGU&index=2 🛠 Technologies used: Java 23 IntelliJ IDEA Docker & Docker Compose PostgreSQL DBeaver 👉 Video Chapters: Check the timestamps below to quickly navigate to the section you need. 0:00 Intro 0:53 Create empty project in IntelliJ Idea 1:09 Hello JDBC - Connect to PostgreSQL DB 2:23 Start up a PostgreSQL db using docker-compose yaml 3:02 Connect PostgreSQL via DBeaver 3:38 Create table via JDBC 4:31 Insert a record via JDBC 5:08 Query a record via JDBC 5:58 Update a record via JDBC 6:34 Delete a record via JDBC 7:03 Insert a record using PreparedStatement 8:01 Call a stored procedure / function via JDBC 9:10 Batch operations: addBatch() & executeBatch() 10:22 Performance increase in bulk / batch insert 15:25 Pagination in JDBC 19:20 Multithreading - Hello from two threads 20:30 Print lifecycle & states of a thread 21:42 Thread safety - “Race vs Synchronized” 23:52 Thread Pools - ExecutorService 25:27 Semaphore, acquire() & release() 30:35 ForkJoinPool - parallel computing example 35:36 Networking - TCP Echo Chat (Client - Server) 38:34 Networking - UDP Guess the Number Game 43:08 Synchronous vs Asynchronous File Downloads with native HttpClient 51:26 Memory Leak - The Ever-Growing Cache 54:10 Reflections - Inspect a Class 57:26 Reflections - Invoke a method / set value to private field 1:01:30 Generics - Loot Crate example 1:03:46 Generics - Monster Cage - Lower-bounded wildcards (? Super) 1:05:06 Generics with multiple types - Quest Rewards 1:07:15 Final: Mini Job Server project 1:09:53 Final: Prepare DB tables 1:11:13 Final: Define Result and example job classes 1:13:45 Final: Implement DB operations utilities 1:18:40 Final: Test DB operations utility methods 1:20:22 Final: Implement Repository class uses JobDao 1:21:25 Final: Implement JobRunner 1:26:24 Final: Implement server logic with ServerSocket 1:30:42 Final: Implement main logic 1:31:11 Final: Implement a simple client 1:33:02 Final: Implement interactive client example and test mini job server 💯 Don't forget to subscribe 👉 You can find me on LinkedIn https://www.linkedin.com/in/murat-%C3%B6ks%C3%BCzer-bb856644/ ❤️ Thanks for watching

Download

0 formats

No download links available.

Java Exercises Advanced Level | 21 Questions and 1 Final Project with Solutions | NatokHD