When comparing Data Structures and Algorithms with Object-Oriented Design Patterns in Java vs Core Java, the Slant community recommends Core Java for most people. In the question“What are the best books to learn Java?” Core Java is ranked 5th while Data Structures and Algorithms with Object-Oriented Design Patterns in Java is ranked 7th. The most important reason people chose Core Java is:
It's well-written enough to read cover-to-cover, and well organized enough to make a good reference.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Free
Available online for free.
Pro Both a tutorial and a reference
It's well-written enough to read cover-to-cover, and well organized enough to make a good reference.
Pro Very thorough
It really does cover the whole language. If you read both volumes, consider yourself a Java expert.
Pro Up to date contents
This book explains Java 8, which is the most recent version of Java.
Cons
Con Long
This is a weighty tome at over a thousand pages, and that's just Volume 1. Don't expect to read it overnight.