Java Programming Tutorial (3rd Edition) cover

Java Programming Tutorial (3rd Edition)

Rating 3.4
Word count
105K words
Chapters
112
ISBN
9787113312978

Tags

Summary

Java Programming Tutorial (3rd Edition) is project-driven: each project is broken into multiple tasks, and problems are introduced in the form of task descriptions before being solved. The book consists of 15 projects, covering: Java overview and development environment setup, Java programming basics, arrays and methods, creating and using the Teacher class and objects, class inheritance and polymorphism, abstract classes, interfaces and packages, exception catching, IO applications in Java, GUI programming, multithreading, Java network programming, using Java collections to manage student information, using JDBC for supermarket inventory management, use of API documentation, and introduction to MyEclipse debugging.

Editor's review

The book organizes content around a project-driven, task-decomposition approach, embedding Java syntax, object orientation, exception handling, IO, GUI, multithreading, network programming, collections and JDBC into 15 progressive projects, avoiding the tedium of merely listing syntax. A distinctive feature is the linking of cases close to teaching and business scenarios—the Teacher class, student information management, and supermarket inventory management—plus API documentation use and an introduction to MyEclipse debugging at the end, helping readers form a complete loop from writing code to troubleshooting. In structure, the third edition puts task descriptions first and then solves the problems, making it suitable for classroom practice and learning by doing. Readers are advised to follow the project tasks and type out the code themselves; when errors occur, debug first and then consult the documentation, so the cases can be fully turned into programming ability.

Who it's for

A good fit for

  • Students in higher vocational colleges or applied undergraduate programs taking a Java programming course
  • Complete beginners who want to learn Java through project tasks
  • Teachers of introductory Java courses who wish to adopt task-driven teaching
  • Readers who know basic syntax and want to strengthen GUI, multithreading and JDBC practice

Not a good fit for

  • Intermediate and advanced developers seeking in-depth study of mainstream frameworks such as Spring
  • Readers who only want a syntax reference manual and are unwilling to do projects
  • Readers aiming at algorithm competitions or low-level performance optimization

Reading tips

  1. Set up the development environment first, then proceed through the projects in order and move on only after completing each task.
  2. After reproducing the cases, try changing requirements or parameters and observe how the program behaves.
  3. When exceptions occur, debug independently first, then check the API documentation and debugging chapter for causes.
  4. After finishing the collections and JDBC sections, combine the student information management and inventory management cases as an exercise.

About the publisher

China Railway Publishing House China · Founded in 1951

China Railway Publishing House has long centered on railway professional publishing while also covering rail transit, industrial technology, programming and design, finance and economics, and exam preparation, with about 194 relevant titles in the collection. Representative books include the Automated Operation (FAO) System for Urban Rail Transit, Design Innovation and Practice for Urban Rail Transit Vehicle Depots, Analysis and Application Management of the Level-One Maintenance Inspection Robot System for Electric Multiple Units, as well as engineering practice titles such as the Engineering Summary of the Guangdong Section of the Ganzhou–Shenzhen Railway and Safety Risk Control Technology and Typical Cases of Shield Tunneling in Beijing Urban Rail Transit Construction. Beyond technical monographs, the publisher also offers practical titles such as Python Programming Fundamentals and tax and accounting treatment for real estate development enterprises, with authors including He Peng, Tang Tao, Ding Shukui, and Sun Changjun. Based on public information, its publishing strength lies in drawing on line engineering and operational practice while balancing professional textbooks and general-audience titles; more complete details of its publishing structure are limited in public sources.

Contents

  1. 版权信息
  2. 内容简介
  3. 前言
  4. 项目一 Java概述及开发环境搭建
  5. 任务一 认识Java
  6. 任务二 Java开发环境搭建
  7. 任务三 编写并运行第一个Java程序
  8. 任务四 Java与其他语言的比较
  9. 思考练习
  10. 上机实训(一)
  11. 项目二 Java语言编程基础
  12. 任务一 数据类型与常量、变量
  13. 任务二 运算符、表达式与语句
  14. 任务三 程序控制结构
  15. 思考练习
  16. 上机实训(二)
  17. 项目三 数组与方法
  18. 任务一 数组的定义及使用
  19. 任务二 方法的定义及使用
  20. 任务三 数组的引用传递
  21. 思考练习
  22. 上机实训(三)
  23. 项目四 Teacher类与对象的创建与使用
  24. 任务一 Teacher类的创建
  25. 任务二 调用构造方法创建Teacher类对象
  26. 任务三 使用setter()和getter()方法访问被封装属性
  27. 思考练习
  28. 上机实训(四)
  29. 项目五 类的继承与多态
  30. 任务一 类的继承
  31. 任务二 进一步学习继承
  32. 任务三 类的多态
  33. 任务四 进一步学习多态
  34. 思考练习
  35. 上机实训(五)
  36. 项目六 抽象类、接口和包
  37. 任务一 抽象类和抽象方法
  38. 任务二 接口与接口的实现
  39. 任务三 包与访问权限
  40. 思考练习
  41. 上机实训(六)
  42. 项目七 异常捕获
  43. 任务一 除法计算工具——异常捕获及处理
  44. 任务二 进制转换工具——异常抛出
  45. 任务三 进制转换工具——声明异常
  46. 任务四 圆的计算工具——自定义异常
  47. 思考练习
  48. 上机实训(七)
  49. 项目八 Java中I/O的应用
  50. 任务一 标准输入/输出
  51. 任务二 File类
  52. 任务三 I/O流的分类
  53. 任务四 常用I/O流的应用
  54. 思考练习
  55. 上机实训(八)
  56. 项目九 图形用户界面编程
  57. 任务一 框架的设计
  58. 任务二 按钮和文本区的设计布局
  59. 任务三 事件响应及界面程序设计
  60. 思考练习
  61. 上机实训(九)
  62. 项目十 多线程
  63. 任务一 用Thread类实现多线程
  64. 任务二 用Runnable接口实现多线程
  65. 任务三 线程的同步与死锁
  66. 思考练习
  67. 上机实训(十)
  68. 项目十一 Java网络编程
  69. 任务一 网络编程InetAddress类的应用
  70. 任务二 TCP网络编程
  71. 任务三 UDP网络编程
  72. 任务四 多线程与网络编程的综合应用
  73. 思考练习
  74. 上机实训(十一)
  75. 项目十二 用Java集合来实现学生信息的管理
  76. 任务一 集合类的选择
  77. 任务二 采用List派生集合管理有序数据
  78. 任务三 采用Set派生集合管理无序数据
  79. 任务四 采用Map派生集合管理映射关系的数据
  80. 思考练习
  81. 上机实训(十二)
  82. 项目十三 使用JDBC实现超市进销存管理
  83. 任务一 JDBC编程环境的搭建
  84. 任务二 采用Statement完成数据库的增删改查
  85. 任务三 采用PreparedStatement完成数据库的增删改查
  86. 思考练习
  87. 上机实训(十三)
  88. 项目十四 API帮助文档的使用
  89. 任务一 格式化日期SimpleDateFormat类的使用
  90. 任务二 网络编程类ServerSocket和Socket的使用
  91. 任务三 数据库编程类的使用
  92. 小结
  93. 项目十五 MyEclipse调试入门
  94. 任务一 调试阶乘程序代码
  95. 任务二 求水仙花数问题
  96. 任务三 分解质因数问题
  97. 小结
  98. 附录A 思考练习参考答案
  99. 项目一 Java概述及开发环境搭建
  100. 项目二 Java语言编程基础
  101. 项目三 数组与方法
  102. 项目四 Teacher类与对象的创建与使用
  103. 项目五 类的继承与多态
  104. 项目六 抽象类、接口和包
  105. 项目七 异常捕获
  106. 项目八 Java中I/O的应用
  107. 项目九 图形用户界面编程
  108. 项目十 多线程
  109. 项目十一 Java网络编程
  110. 项目十二 用Java集合来实现学生信息的管理
  111. 项目十三 使用JDBC实现超市进销存管理
  112. 参考文献

FAQ

Can a complete beginner read this book directly?
Yes. The book starts with a Java overview and development environment setup, introduces problems through task descriptions, and then solves them, so it suits readers with no programming background who study the projects in order. However, readers need to be willing to set up the environment, write code and debug; reading alone has limited effect.
Do I need to complete all the project cases in the book?
It is advisable to complete at least the first few basic projects and the collections and JDBC projects. Knowledge advances from project to project, and skipping around can lead to missing the foundations of object orientation and exception handling. If time is limited, prioritize the cases closest to your course or work needs.
What level can I reach after finishing the book?
You can master basic Java syntax, object orientation, exceptions, IO, GUI, multithreading, network programming, collections and basic JDBC usage, and be able to use API documentation and MyEclipse for simple debugging, giving you a foundation for further study of frameworks and participation in small projects.

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

He Shouqian is a Chinese author of computer books, though publicly available information about the author is very limited. The main confirmed detail is the signed work Java Programming Tutorial (Third Edition), cataloged under general computer science. The book is intended as an introduction to the Java language for teaching and self-study, typically covering basic syntax, object-oriented programming, common libraries, and simple application development, so that college students or independent learners can progress chapter by chapter. Judging from the title and edition, the author emphasizes a systematic and readable textbook approach, explaining programming concepts clearly and turning examples into workable steps for practice. Because He Shouqian's nationality, dates, education, and professional background are not reliably documented, this introduction makes no speculation and relies only on the work listed in the database as a reference for readers choosing books.

吴道君 Author

Wu Daojun: publicly available information about this author is currently limited, and details such as his specific biography, nationality, and dates of birth and death remain unclear. Judging from the two works held in the library, Wu Daojun's writing is mainly oriented toward computer science teaching and technical application. His representative works are the Java Programming Tutorial (Third Edition) and Python Big Data Analysis. The former is an introductory textbook for programming courses, emphasizing grammar fundamentals and a step-by-step approach to programming thinking; the latter focuses on data analysis practice, using Python tools to handle big-data scenarios. The two works correspond respectively to the general computer science and examination categories, indicating that their content serves both classroom teaching and skills-test preparation needs. Overall, Wu Daojun's writing style tends to be practical and instruction-oriented, with clear and accessible language that helps beginners and exam-preparation readers master knowledge systematically, offering certain reference value for the relevant readership.

曾昊 Author

Zeng Hao, about whom limited public information is available, is confirmed as an author of computer books, whose representative work is the Java Programming Tutorial (Third Edition). Belonging to the general computer category, the book is, judging by its title and edition, a tutorial for Java learners that covers the fundamentals of Java programming and practical skills and has been revised and updated. As a textbook author, Zeng Hao tends toward a systematic and teaching-oriented style, offering readers a step-by-step learning path. Although only one of the author's works is currently included in the database and no verifiable information is available about personal background, career, or affiliations, the continued reprinting of this tutorial suggests its practical value in Java teaching, making it suitable for classroom use or self-study by beginners.

钱英军 Author

Qian Yingjun: public information about this author is limited. All that is currently known is that the author compiled Java Programming Tutorial (Third Edition), a book classified under general computer science. Judging from this work, the author addresses learners of the Java language, explaining the fundamentals of programming and practical methods in a tutorial format. The content centers on Java syntax, object-oriented programming, and common applications, seeking to combine conceptual explanation with guided examples, and is suitable for both classroom use and self-study. As a textbook that has reached its third edition, its continued revision reflects gradual adjustments to teaching needs and the changing technical environment, giving it a certain reference value in basic computer science education. Because no reliable records of the author's life or professional background are available, no speculation is made here; only the characteristics and positioning of the author's textbook writing are briefly described.

More by the same author

Top rated in the same category