Looking for a Book to Learn Java and OOP?

  • Thread starter Thread starter trollcast
  • Start date Start date
  • Tags Tags
    Book Java Oop
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
trollcast
Gold Member
Messages
282
Reaction score
13
I'm currently trying to learn java and I've managed to pick up most of the basics from tutorials and stuff on the internet (loops, conditionals, defining functions etc.).

However none of them provide a good explanation of OOP and how to use it in java, except for a very trivial example like creating a datatype to store a persons name and age. I'm interested in learning how you actually would use this in a program to build more complicated data structures like trees and stacks.
 
Physics news on Phys.org
trollcast said:
I'm currently trying to learn java and I've managed to pick up most of the basics from tutorials and stuff on the internet (loops, conditionals, defining functions etc.).

However none of them provide a good explanation of OOP and how to use it in java, except for a very trivial example like creating a datatype to store a persons name and age. I'm interested in learning how you actually would use this in a program to build more complicated data structures like trees and stacks.

If you've gotten past the basic programming stage, you can start looking at data structures and their properties.

Look up information about the java collections framework. I would also recommend Data Structures & Algorithms in java by Goodrich and Tamassia if you're completely new to the concepts.
 
Zondrina said:
If you've gotten past the basic programming stage, you can start looking at data structures and their properties.

Look up information about the java collections framework. I would also recommend Data Structures & Algorithms in java by Goodrich and Tamassia if you're completely new to the concepts.

Thanks, I know the basics of how some of the data structures work from computing class but I have never implemented them before in an actual programming language. Its more the implementation of them I don't understand rather than the actual theory of them (most of which is pretty accessable online anyway)