Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Where can I find "assignments" or problem questions to test my Java skills?  RSS feed

Tarek Khojah
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm still a beginner reading through Head First Java, and I just feel that I need a more practical approach in order to nail things down.

As an example, I just read a bit about inheritance and polymorphism! An "assignment" in this case would go something like this (taken from some programming course I took earlier).

"Write a program that calculates the weekly earnings of each of the following employees:

Manager (weekly salary)
Salesperson (1% of sales commission)
Secretary ((hourly wage * hours worked in a week) + (overtime * hourly wage * 1.5))"

The employee class will be an abstract class in this case, the other classes will inherit from it, each with its own overridden method to calculateEarnings(), hope that example got my point across

So are there any "assignment" books out there in Java? I think something like this covering topics from beginner to advanced would be a must-have in every Java programmer's library.

If not, are there any websites you can direct me to? I ran a search on google and for this but couldn't really find anything, how else am I supposed to really drill in the things I'm learning? Heck, you guys can give me assignments Anything will work for me, I just need something to code with my limited knowledge, first steps are always the hardest.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!