Crazy Java: The Complete Guide (5th Edition) cover

Crazy Java: The Complete Guide (5th Edition)

Rating 4.0
Word count
1.8K words
Chapters
18
Series
Crazy Java: The Complete Guide
ISBN
9787121361586

Tags

Summary

Crazy Java: The Complete Guide (5th Edition) is the fifth edition of Li Gang's Crazy Java series, published by Publishing House of Electronics Industry in April 2019. It runs 912 pages, about 1.847 million characters, and comes with a companion DVD. This edition continues the systematic, comprehensive, and detailed style of the previous four editions and fully adds the new features of Java 10 and Java 11. The book begins with the history of Java and the development environment, explaining how Java programs run and the JVM, then covers object-oriented thinking and UML, before moving in turn through data types and operators, flow control and arrays, object orientation (parts 1 and 2), the Java core class library, the collections framework, generics, exception handling, AWT and Swing GUI programming, MySQL databases and JDBC programming, annotations, I/O and NIO, multithreading, and network programming, closing with the class-loading mechanism and reflection. The content covers most of the classes and interfaces in the java.lang, java.util, java.text, java.io and java.nio, java.sql, java.awt, and javax.swing packages. The fifth edition focuses on the Java module system and also covers in detail declaring local variables and lambda parameters with var, the improved javac command, nest-based access control, HTTP Client network programming, and the various APIs added in Java 10 and Java 11. Rather than listing knowledge for its own sake, the book starts from solving problems, with cases such as Gomoku, Show Hand, a QQ game hall clone, a MySQL enterprise manager, an EditPlus-like text editor, a multithreaded resumable download tool, and a Spring IoC container, helping readers learn by doing. It suits learners and practitioners who want a systematic, in-depth command of Java, and can also serve as a textbook for universities and training institutions.

Editor's review

在中文原创Java教材里,《疯狂Java讲义》大概是「块头最大、也最耐读」的那一类,第5版把这个特点保持得很好。 它的好处在于三点。第一是体系完整:从语法、面向对象到集合、泛型、IO、多线程、网络、反射,再到Swing与JDBC,一本之内覆盖了Java SE的主要板块,不必为了补某个知识点再去找第二本书。第二是「讲中国人能看懂的Java」:它并非翻译引进之作,没有生硬的术语直译,遇到难点会用类比铺垫,遇到易混淆的语法还编了口诀,比如方法重写那套说法,读过的人往往记得住。第三是带着项目学:五子棋、梭哈、仿QQ游戏大厅、仿EditPlus编辑器、多线程断点下载、Spring的IoC容器等案例贯穿全书,每个案例都是能跑起来的完整程序,学完一章就有成果感。 第5版对应Java 11这个大版本,新增了模块化系统、var声明、嵌套访问控制、HTTP Client等内容,同时配套近1700分钟视频、全部示例代码、面试题、课件等资料。需要提醒的是:本书体量接近一千页,是「啃」而不是「翻」的书;选版本时也要与自己的JDK对齐——若生产环境仍是Java 8,第4版反而更顺手;若从零起步并想跟上新语法,第5版更合适。

Who it's for

A good fit for

  • 计算机相关专业在校生,需要一本可当教材的系统Java读本
  • 有其他语言基础、准备转入Java开发的初级程序员
  • 希望把集合、IO、多线程、反射等核心知识一次学全的自学者
  • 高校教师与培训机构讲师,可用作课程参考教材

Not a good fit for

  • 只想花两三天粗略了解Java语法、不打算写代码的读者
  • 已具备多年Java经验、只想补某一冷门专题的资深开发者
  • 期待用短篇案例快速做出Web应用的前端或脚本语言使用者

Reading tips

  1. 先按章节顺序通读语法与面向对象部分,不要跳读,后面的集合与IO都建立在前六章之上
  2. 每章动手敲完配套示例代码,光盘或资料包中的案例至少完整跑通三四个
  3. 阅读前确认本地JDK版本与第5版一致(Java 11),否则模块化与var相关示例会无法运行
  4. 把Swing与JDBC部分当作综合练习,边学边用于个人小项目,效果远好于只做题

About the publisher

Publishing House of Electronics Industry China · Founded in 1982

The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.

Contents

  1. Chapter 1 Overview of Java and the Development Environment
  2. Chapter 2 Understanding Object Orientation
  3. Chapter 3 Data Types and Operators
  4. Chapter 4 Flow Control and Arrays
  5. Chapter 5 Object Orientation (Part 1)
  6. Chapter 6 Object Orientation (Part 2)
  7. Chapter 7 The Java Core Class Library
  8. Chapter 8 Java Collections
  9. Chapter 9 Generics
  10. Chapter 10 Exception Handling
  11. Chapter 11 AWT Programming
  12. Chapter 12 Swing Programming
  13. Chapter 13 MySQL Databases and JDBC Programming
  14. Chapter 14 Annotations
  15. Chapter 15 Input/Output
  16. Chapter 16 Multithreading
  17. Chapter 17 Network Programming
  18. Chapter 18 The Class-Loading Mechanism and Reflection

FAQ

这本书适合零基础的人自学吗?
适合,但前提是愿意花时间。本书从开发环境搭建与第一个Java程序讲起,语法解释细致,还配有口诀与大量示例;只是篇幅近千页,建议按章节循序渐进,每天固定两小时,不要贪快。
第4版、第5版和第6版该怎么选?
第4版对应Java 8/9,适合生产环境仍在用Java 8、希望尽快上手工作的人;第5版对应Java 11,新增模块化、var声明、HTTP Client等;第6版为上下两册,覆盖Java 12至17,新增记录类、密封类、switch表达式等。
这本书讲框架吗,学完能找工作吗?
本书聚焦Java SE,涵盖语法、集合、IO、多线程、网络、反射、JDBC与Swing,不含Spring Boot等主流框架的深入讲解。学完可打牢语言基础,但求职还需另行学习Web开发与框架。
随书的视频和代码怎么获取?
第5版随书附DVD光盘,内含书中示例代码、《疯狂Java实战演义》项目代码、视频、面试题与课件。若光盘遗失,可通过crazyit.org等官方渠道及配套读者群获取相应资料。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

李刚 Author

Li Gang: publicly available information is limited, and no confirmed details about his education, positions, or life experience can be verified. Judging from the 19 works held in the library, his writing and editorial work center on the operation and management of dental institutions, covering specific areas such as infection control, medical safety, equipment management, human resources, patient management, practice opening preparation, and market development, while also extending to clinical teaching content such as infectious diseases. The works are commonly classified under medicine, management, documentary literature, and industrial technology. His books emphasize practical operations and procedural standards and are aimed at dental clinic practitioners and managers, addressing key points in daily operations topic by topic in separate volumes. They are highly practical and instructive, forming a fairly systematic series of titles within dental practice management literature.

More by the same author

Top rated in the same category