When comparing Udemy - Java Tutorial with Java 8 by Examples vs Head First Java, the Slant community recommends Head First Java for most people. In the question“What are the best resources to learn Java?” Head First Java is ranked 4th while Udemy - Java Tutorial with Java 8 by Examples is ranked 13th.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Comprehensive
The course includes 143+ lectures.
Pro Designed for experienced and newbie programmers
Works both as a refresher that covers Java 8 features for programmers familiar with earlier Java versions and as a broad introduction to Java programming for beginners.
Pro It has version-wise every concepts covered with examples
Pro Beginner-friendly
The explanations are done in a very non-technical and humorous way. This makes the book interesting to read unlike the hard core dry technical books.
Cons
Con Out of date with the language
The 2nd (and most recent) edition only covers Java up to version 5. A lot has changed in the intervening years.