Crazy Java Lectures (4th Edition) cover

Crazy Java Lectures (4th Edition)

No rating yet
Word count
1.9K words
Chapters
18
Series
The Crazy Java Series
ISBN
9787121331084

Tags

Summary

Crazy Java Lectures (4th Edition) is the core tutorial in Li Gang's Crazy Java system, published by Publishing House of Electronics Industry in January 2018. The book has 18 chapters and about 1,854 thousand characters. Building on the systematic, comprehensive, and detailed style of the previous three editions, it fully updates and adds the new features of Java 9. It covers an overview of the Java language and development environment, object-oriented thinking and UML, data types and operators, flow control and arrays, object orientation (Parts I and II), the Java core class library, the collections framework, generics, exception handling, AWT and Swing GUI programming, MySQL databases and JDBC programming, annotations, the input/output stream system, multithreading, network programming, the class loading mechanism and reflection, and more. The book highlights Java 9's module system, the jshell interactive tool, multi-release JARs, the enhanced try statement, private interface methods, and new APIs, and covers most classes and interfaces in packages such as java.lang, java.util, java.text, java.io and java.nio, java.sql, java.awt, and javax.swing. The author presents Java not only as knowledge but from the perspective of solving problems, with practical cases such as Gomoku, poker (Show Hand), a QQ game hall clone, a MySQL enterprise manager, an EditPlus text editor clone, a multithreaded resumable download tool, and a Spring IoC container, helping readers learn while practicing. A CD accompanies the book, containing all sample code from the book and the project code for Crazy Java in Action, which can serve as reference for after-class exercises. The book is substantial and in-depth, suitable both for readers who want to learn Java systematically and as a textbook for universities and training institutions.

Editor's review

如果你想要一本“从零讲到能上手做项目”的Java书,《疯狂Java讲义》系列是绕不开的选择。第4版的最大变化是全面对接Java 9:模块化系统、jshell、多版本JAR包、接口私有方法、增强的try语句等新内容都被纳入正文,而不是另加附注,因此读起来不会出现“教材讲的是老版本、公司用的是新版本”的割裂感。李刚的写作风格有明显教学痕迹:概念先讲清“为什么”,再落到代码上,遇到易错点会专门用一问一答的方式提醒,比如JRE与JVM的关系、PATH环境变量的设置、CLASSPATH的定位规则,这些都是初学者最容易卡住的地方。全书18章、近900页,覆盖语法、面向对象、集合、泛型、异常、GUI、JDBC、IO、多线程、网络、反射,知识密度高,配套案例从五子棋、梭哈到仿QQ游戏大厅、断点下载工具,逐层升级,便于把零散语法串成完整项目。需要提醒的是,本书定位是“深入掌握”,不是速查手册;章末练习和光盘代码最好跟着敲一遍,否则容易变成“看得懂、写不出”。第4版以Java 9为基准,若你所在环境已是更高的长期支持版本,个别API用法需自行对照官方文档更新。

Who it's for

A good fit for

  • 有编程基础、希望系统吃透Java语法与面向对象的在校学生
  • 准备从其他语言转Java、需要一本完整教程的开发者
  • 讲授Java课程、需要按章节组织教学内容的教师与培训讲师
  • 想通过完整案例把零散知识串成项目能力的人

Not a good fit for

  • 只想快速查API、需要速查手册的读者
  • 完全零基础且没有耐心读长篇教材的人
  • 只想了解Java概念、不打算动手写代码的读者

Reading tips

  1. 先装好JDK并用jshell跑通第一个程序,再进入第3章,避免“环境没通、后面全乱”。
  2. 第5、6章面向对象是全书地基,建议读完即完成章末练习,不要跳过。
  3. 第11、12章AWT/Swing如非桌面开发需求,可先略读,回头再补。
  4. 第15至18章IO、多线程、网络、反射建议配合光盘代码调试,边改边跑加深理解。

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 the Java Language and 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 I)
  6. Chapter 6 Object Orientation (Part II)
  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版对应哪个Java版本?
第4版以Java 9为基准,重点新增了模块化系统、jshell工具、多版本JAR包、接口私有方法、增强的try语句等内容,示例环境为JDK 9。
书中的代码案例在哪里获取?
随书附光盘,内含书中所有示例代码以及《疯狂Java实战演义》的项目代码;也可通过作者维护的crazyit.org社区与其他读者交流。
这本书适合当作高校教材使用吗?
可以。全书18章体系完整、章末配有练习,内容覆盖多数Java课程知识点,已被多所院校选作教材,教师可按学时选取章节。
第4版和第5版有什么区别?
第4版以Java 9为基准;后续版本会依据更新的Java长期支持版本调整示例与API。若学习目标是新版本特性,建议选择更新的版本。

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