Programming Studyๆ—ฅๆœฌ่ชž

Disclosure: We earn a commission from Udemy when you buy a course through links on this page.

Java Coding Practice: 90+ Exercises from Basics to Java 21

Java Coding Practice: 90+ Exercises from Basics to Java 21

Udemy ยท English

About this course

Language
English
Category
Provider
Udemy
Data updated

There's a point in learning Java where the syntax stops being the problem. You know what a class is, you've seen a lambda, you could explain inheritance in an interview. But when you sit down to write something real, like a report grouped by category or a counter that several threads update at once, it takes far longer than it should, and you're never quite sure the result is right. Closing that gap takes one thing: writing a lot of Java and getting told immediately whether it works. This course is 90 coding exercises in the Java editor built into the course. Each one gives you a short business scenario and a clear method contract, the inputs, the expected output and the rules, and you write the implementation. When you submit, automated tests run against your code and tell you right away whether it passes. If you get stuck, hints point you in the right direction without handing you the answer. Every exercise was compiled and run against its tests before it went live, so when a test fails, the problem is in your code, not the exercise. Here's what that looks like in practice. One advanced exercise describes a checkout that needs to support card, wallet and bank transfer payments, with new methods added later without touching the checkout code. You get the interface and the method you must implement. You write the Strategy classes, submit, and the tests check each payment type, an unknown type and the totals. If one test fails, you know exactly which case to look at. That loop of reading a contract, writing code and fixing what the tests catch is how fluency builds, and it's the same loop you'll run every day on a real team with real unit tests. How the course is organizedSeven short lectures at the start walk through what each tier covers and how to practice so the work sticks. After that, it's exercises. The beginner tier gets the fundamentals fast and correct. You'll reverse strings, check palindromes, count vowels, find maximums, remove duplicates, compute facโ€ฆ

Courses in the same category