Originally Posted by
Ezzaral
You might want to check out this book sometime: Head First Java
From what I have heard, it covers a lot of these object-oriented design topics very well. It was listed in a semi-recent "Top Java Books" posting over in JavaLobby and seems to be well-regarded. I've not read that one myself, but I was very impressed with the "Head First Design Patterns" book, which shares a couple of authors and the same presentation style.
I couldn't apply that pc=new DebitCard(); concept. Maybe I put it in the wrong place. I still can't figure this out.