Looking for a Book to Learn Java and OOP?

  • Thread starter Thread starter trollcast
  • Start date Start date
  • Tags Tags
    Book Java Oop
AI Thread Summary
The discussion centers on the challenges of learning Object-Oriented Programming (OOP) in Java, particularly in relation to implementing complex data structures like trees and stacks. While the user has grasped basic programming concepts such as loops and conditionals, they find that most tutorials only cover trivial OOP examples. Recommendations include exploring the Java Collections Framework and consulting resources like "Data Structures & Algorithms in Java" by Goodrich and Tamassia for foundational knowledge. Additionally, the O'Reilly Head First series, particularly "Head First Java" and "Head First Object-Oriented Analysis and Design," is suggested as a means to better understand OOP principles and their practical applications in programming.
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)
 
TL;DR Summary: Book after Sakurai Modern Quantum Physics I am doing a comprehensive reading of sakurai and I have solved every problem from chapters I finished on my own, I will finish the book within 2 weeks and I want to delve into qft and other particle physics related topics, not from summaries but comprehensive books, I will start a graduate program related to cern in 3 months, I alreadily knew some qft but now I want to do it, hence do a good book with good problems in it first...
TLDR: is Blennow "Mathematical Methods for Physics and Engineering" a good follow-up to Altland "Mathematics for physicists"? Hello everybody, returning to physics after 30-something years, I felt the need to brush up my maths first. It took me 6 months and I'm currently more than half way through the Altland "Mathematics for physicists" book, covering the math for undergraduate studies at the right level of sophystication, most of which I howewer already knew (being an aerospace engineer)...

Similar threads

Back
Top