Any recommendations on a book I should buy to understand the concepts?

Obviously the best option would be attending a class but seeing as I'm currently in my last year at school i wont be able to do that until next year so any book or site recommendations would be helpful.