Learning Java programming language is just like learning Spanish, English, or Mandarin – it requires commitment and practice. Just like a regular language, a programming language has rules, syntax, structure, conventions, etc. It doesn’t require anyone to be smart to learn Java programming, you just have to get used to it, YOU HAVE TO PRACTICE.
Here’s an online website I found that provides practice problems for the BIG-3 basics: String, Array, and Business Logic.
CodingBat
The cool thing about this website is that it provides it’s own compiler to every practice problem. So if you make a mistake, it will tell you where the mistake is just like in Eclipse.
Anyways by completing a problem, you receive a star and perhaps you can show off your collection of stars to your professor!