Java Programming Practical Guide cover

Java Programming Practical Guide

No rating yet
Word count
1.3K words
Chapters
27
Series
Developer's Classic Series
ISBN
9787302351702

Tags

Summary

This volume is the Java installment of Tsinghua University Press's "Development Guide Series," written by Liu Xin, Guan Lei and others and published in September 2014. It runs to 22 chapters in 8 parts and, taking the J2SE platform and the JDK 1.7 technical specification as its starting point, systematically explains basic Java programming techniques and common development methods. The first parts start from zero: first the principles of Java execution, the Java virtual machine, JDK installation and environment variable configuration; then the fundamentals of the Java language (data types, operators and expressions, flow control statements); then object-oriented programming in depth, including classes and objects, member variables and methods, constructors and static methods, inheritance and polymorphism, interfaces, abstract classes and inner classes; the data processing section covers arrays and strings, exception handling, input/output and file access, and serialization. The advanced technology section is devoted to multithreading, runtime type identification (RTTI) and reflection, generics, the collections framework, and type wrappers and autoboxing. With the language foundation established, the book moves to practical programming: GUI programming, Java multimedia programming, database fundamentals and Java database programming (JDBC), Java network programming and JSP programming, all taught through example programs. It closes with three chapters presenting a complete design and implementation of an instant messaging application; owing to length constraints, this part is included as a PDF on the accompanying disc. The book provides 450 examples, 6 small case studies, 1 project development case and 346 exercises, plus a DVD containing the example source code, roughly 18 hours of accompanying instructional video and a large quantity of bonus resources. It suits readers who want to teach themselves Java systematically while learning by doing.

Editor's review

这是一本典型的“大而全”型Java自学教程,也是国内读者常说的Java“红宝书”之一。它的价值在于把从环境搭建到项目落地的整条学习路径铺得很完整:前四篇老老实实讲语法、面向对象、异常与I/O、多线程与集合,后几篇再把GUI、多媒体、数据库、网络、JSP逐个带一遍,最后拿一个即时通信系统做综合收尾,读者不必在不同书之间来回切换。 配套资源是它的一大卖点:450个实例、346道习题,加上约18小时配套教学视频和额外赠送的进阶视频、项目案例源码,对没有人带的初学者相当友好,卡住时能跟着视频一行行对代码。 需要提醒的是,本书以JDK 1.7为技术基准,出版于2014年,Java语言虽向下兼容,但Applet、JSP等内容在今天已明显边缘化,实际动手时建议配合较新的JDK与IDE,把书当作语法与面向对象思维的训练场,而不是最新技术的索引。

Who it's for

A good fit for

  • 零基础想系统自学Java、需要完整学习路线的大学生与转行者
  • 需要一本能随时翻查语法、集合、I/O、多线程的案头参考手册的初级程序员
  • 偏好跟着视频和大量示例代码动手练习、不喜欢纯理论讲解的读者
  • 讲授Java程序设计课程、需要习题与案例素材的教师或培训讲师

Not a good fit for

  • 已具备Java基础、想学习Spring Boot、微服务、云原生等现代框架的进阶开发者
  • 只想快速查阅最新Java特性(如Lambda、模块化、新版本并发工具)的读者
  • 期待聚焦算法与数据结构竞赛训练的读者

Reading tips

  1. 按篇顺序阅读,前四篇务必逐章动手敲代码并完成章末实战习题,不要跳过基础语法与面向对象部分。
  2. 光盘视频与书中章节一一对应,遇到卡壳的示例先看视频再回读代码,能显著降低自学挫败感。
  3. Applet、JSP等章节可快速浏览了解历史脉络,把时间优先投入集合、多线程、I/O与JDBC这些长期有用的内容。
  4. 练习时使用较新的JDK与IDE(如IntelliJ IDEA),保留书中语法思路但及时改用当前主流写法。

About the publisher

Tsinghua University Press China · Founded in 1980

Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.

Contents

  1. Part 1 Getting Started with Java Basics
  2. Chapter 1 The Java Development and Runtime Environment
  3. Chapter 2 Java Language Fundamentals
  4. Part 2 Java Object-Oriented Programming
  5. Chapter 3 Objects and Classes
  6. Chapter 4 Inheritance and Polymorphism
  7. Part 3 Java Data Processing
  8. Chapter 5 Arrays and Strings
  9. Chapter 6 Exception Handling in Java
  10. Chapter 7 Java Input/Output Processing Techniques
  11. Part 4 Advanced Techniques in Java
  12. Chapter 8 Java Multithreading Mechanisms
  13. Chapter 9 Runtime Type Identification
  14. Chapter 10 Generics
  15. Chapter 11 The Java Collections Framework
  16. Chapter 12 Type Wrappers, Autoboxing and Metadata
  17. Chapter 13 Common Utility Classes
  18. Part 5 Desktop Application Development
  19. Chapter 14 GUI Programming
  20. Chapter 15 Java Multimedia Programming Applications
  21. Part 6 Database Programming
  22. Chapter 16 Database Fundamentals
  23. Chapter 17 Java Database Programming Techniques
  24. Part 7 Network Application Development
  25. Chapter 18 Java Network Programming Techniques
  26. Chapter 19 JSP Programming
  27. Part 8 Instant Messaging System Development Project Practice (PDF on Accompanying Disc)

FAQ

这本书适合零基础自学Java吗?
适合。全书从JDK安装、环境变量配置讲起,语法部分循序渐进,并配有大量实例、章末习题和配套教学视频,官方定位就是面向想全面自学Java的读者,零基础只要肯动手敲代码即可跟上。
书中的技术是否已经过时?
本书以JDK 1.7为基准、2014年出版,Java语法核心部分至今仍然通用,但Applet、JSP等内容已基本退出主流开发。建议把它作为语言基础与面向对象训练教材,框架与新技术另找更新的资料补充。
需要另外购买光盘或下载资源吗?
原书附1张DVD,内含实例源码、约18小时配套教学视频及赠送的案例与电子书。目前不少版本标注光盘内容需另行下载,购买前请确认所购版本的资源获取方式(书封底通常注明下载地址)。
这本书和《Java编程思想》相比如何?
两者定位不同:《Java编程思想》偏重语言哲学与概念深度,适合有一定基础后精读;本书偏向教材式全覆盖加大量的实例与视频,实践性和入门友好度更高,适合作为第一本系统学习用书。
全书有多少内容、需要读多久?
全书22章、8篇,正文约800余页、1314千字。按每周投入8至10小时并完成习题估算,通读加练习大致需要三到四个月;若只精读前四篇核心语法与高级技术,一个多月可打下较扎实的基础。

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

Liu Xin is an author about whom limited public information is available. The library holds two works by this author, covering the fields of art historiography and computer software application. Among them, Disciplinary History and Problems: Special Studies in the History of 20th-Century Chinese Art Historiography focuses on the development of Chinese art historiography in the 20th century, sorting out the disciplinary history and discussing related academic issues, which reflects a strong theoretical and monographic orientation. CorelDRAW Basics and Practical Tutorial, by contrast, is oriented toward software operation and practical application and belongs to the computer general reference category. The two works span considerably different subjects: the former emphasizes academic history, while the latter emphasizes skills instruction, indicating that the author has writing experience in different fields. Because information such as dates of birth and death, nationality, and professional experience is unavailable, this introduction is based only on the library's works and classification information and makes no additional inferences about the author's life.

More by the same author

Top rated in the same category