This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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 Amazon.com 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.