Java Programming (Micro-Video Edition) cover

Java Programming (Micro-Video Edition)

Rating 3.2
Word count
138K words
Chapters
228
ISBN
9787115504197

Tags

Summary

The book consists of 11 chapters, covering an overview of the Java language, Java syntax fundamentals, program flow control, arrays, Java object-oriented programming, using Java class libraries, exceptions and assertions, Java file operations, Swing programming, Applet programming, and multithreading. Guided by the goal of developing students' computational thinking and problem-solving abilities, this book introduces the fundamentals of Java programming, programming methods, and major application areas.

Editor's review

Published by Posts & Telecom Press and authored by Pu Yunwei, Java Programming (Micro-lecture Edition) is an introductory programming textbook for Java beginners. Written for Java 8, it covers core topics including Java language fundamentals, object-oriented programming, commonly used class libraries, the collections framework, exception handling, file I/O, multithreaded programming, and network programming. The book is clearly structured, progressing from environment setup and basic syntax to advanced applications, and includes numerous sample codes and exercises to help readers consolidate what they have learned.

As an introductory textbook, its notable strength is the close integration of theory and practice, with abundant examples closely tied to real-world application scenarios. When explaining abstract concepts, the author emphasizes concrete cases, lowering the barrier to learning. The exposition of object-oriented thinking is thorough and helps beginners develop correct programming thinking patterns. Compared with similar textbooks, this book handles more complex chapters such as the collections framework and multithreading in greater detail, using step-by-step explanations and diagrams to make difficult points easier to understand.

In terms of content organization, the book is suitable as a Java course textbook for computer-related majors in higher education institutions and also for self-learners studying systematically. The micro-lecture edition's distinctive feature likely lies in its accompanying digital resources, which provide a more intuitive learning experience. Note that the book is based primarily on Java 8 and covers the new features of Java 11 and later only to a limited extent; readers who need to learn the latest language features may need to consult other materials. Overall, this is a solid, comprehensive Java introductory textbook that can help readers build a firm programming foundation.

Who it's for

A good fit for

  • Undergraduate students in computer science, software engineering, and related majors
  • Beginners who want to systematically learn Java programming fundamentals
  • Trainees in training institutions who need an introductory Java textbook
  • Engineers working in other programming languages who want to switch to Java development

Not a good fit for

  • Advanced developers seeking detailed coverage of new features in Java 11 and later
  • Senior engineers who need an in-depth understanding of JVM mechanisms or high-performance optimization

Reading tips

  1. Read the chapters in order; the first eight chapters cover the foundational core and should be mastered thoroughly
  2. Practice each sample code in the book and try modifying and debugging them yourself
  3. Complete the exercises at the end of each chapter to consolidate the key points
  4. When studying the multithreading and network programming chapters, build simple projects to deepen your understanding

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. 版权信息
  2. 内容提要
  3. 前言
  4. 第1章 Java语言概述
  5. 1.1 初识Java技术
  6. 1.1.1 Java发展历程
  7. 1.1.2 Java技术平台
  8. 1.1.3 Java语言的特点
  9. 1.2 理解JVM、JRE和JDK
  10. 1.2.1 Java程序的运行机制
  11. 1.2.2 JRE
  12. 1.2.3 Java开发环境
  13. 1.3 准备Java开发环境
  14. 1.3.1 JDK的下载、安装和配置
  15. 1.3.2 常见的Java开发工具
  16. 1.4 编写第一个Java程序
  17. 1.4.1 Java程序的编辑
  18. 1.4.2 Java程序的编译
  19. 1.4.3 Java程序的运行
  20. 1.5 Java程序的结构和语法规范
  21. 1.5.1 进一步认识Java程序
  22. 1.5.2 标识符和关键字
  23. 1.5.3 程序注释
  24. 1.5.4 对Java程序的再次说明
  25. 1.6 专题应用 为Java程序输入数据
  26. 自测与思考
  27. 第2章 Java语法基础
  28. 2.1 基本数据类型
  29. 2.2 变量与常量
  30. 2.2.1 变量
  31. 2.2.2 常量
  32. 2.3 基本数据类型变量的赋值
  33. 2.3.1 整型变量的赋值
  34. 2.3.2 浮点型变量的赋值
  35. 2.3.3 字符型变量的赋值
  36. 2.3.4 字符串变量的赋值
  37. 2.3.5 布尔型变量的赋值
  38. 2.3.6 基本数据类型变量的默认值
  39. 2.4 表达式与运算符
  40. 2.4.1 表达式
  41. 2.4.2 运算符
  42. 2.4.3 运算符的优先级
  43. 2.5 扩展表达式和类型转换
  44. 2.5.1 扩展表达式
  45. 2.5.2 表达式的数据类型转换
  46. 2.6 专题应用 数据的随机产生与高效计算
  47. 自测与思考
  48. 第3章 程序流程控制
  49. 3.1 典型程序结构
  50. 3.2 选择结构
  51. 3.2.1 if语句
  52. 3.2.2 switch语句
  53. 3.3 循环结构
  54. 3.3.1 for语句
  55. 3.3.2 while语句
  56. 3.3.3 do-while语句
  57. 3.3.4 嵌套循环
  58. 3.4 控制跳转语句
  59. 3.4.1 标号语句
  60. 3.4.2 continue语句
  61. 3.4.3 break语句
  62. 3.5 专题应用 典型流程控制算法
  63. 自测与思考
  64. 第4章 数组
  65. 4.1 数组的引入
  66. 4.1.1 引入数组的必要性
  67. 4.1.2 数组的概念
  68. 4.2 一维数组
  69. 4.2.1 一维数组的定义
  70. 4.2.2 一维数组的长度
  71. 4.2.3 创建一维数组的方法
  72. 4.2.4 一维数组应用举例
  73. 4.3 二维数组
  74. 4.3.1 声明二维数组变量
  75. 4.3.2 创建二维数组
  76. 4.3.3 二维数组的赋值与使用
  77. 4.3.4 二维数组的长度
  78. 4.3.5 非矩阵型二维数组
  79. 4.3.6 二维数组应用举例
  80. 4.4 多维数组
  81. 4.5 专题应用 数组元素的排序
  82. 自测与思考
  83. 第5章 Java面向对象编程
  84. 5.1 面向对象程序设计概述
  85. 5.1.1 程序设计方法的发展
  86. 5.1.2 面向对象程序设计的特点
  87. 5.2 类和对象
  88. 5.2.1 定义类
  89. 5.2.2 成员变量
  90. 5.2.3 成员方法
  91. 5.2.4 创建、使用和销毁对象
  92. 5.2.5 方法中的参数传递
  93. 5.2.6 成员变量、局部变量和方法参数的区别
  94. 5.3 构造方法
  95. 5.3.1 构造方法的定义
  96. 5.3.2 对象的生成过程
  97. 5.3.3 this关键字
  98. 5.4 类的继承
  99. 5.4.1 继承的概念
  100. 5.4.2 Java继承的实现
  101. 5.4.3 访问权限修饰符
  102. 5.4.4 构造方法与继承
  103. 5.4.5 super关键字
  104. 5.4.6 Object类
  105. 5.5 类的多态
  106. 5.5.1 多态的概念
  107. 5.5.2 方法重载
  108. 5.5.3 方法覆盖
  109. 5.5.4 向上转型和动态绑定
  110. 5.6 final关键字
  111. 5.6.1 终极变量
  112. 5.6.2 终极方法
  113. 5.6.3 终极类
  114. 5.7 static关键字
  115. 5.7.1 静态变量
  116. 5.7.2 静态方法
  117. 5.8 抽象类
  118. 5.8.1 抽象方法
  119. 5.8.2 抽象类的定义及应用
  120. 5.9 接口
  121. 5.9.1 定义接口
  122. 5.9.2 实现接口
  123. 5.10 内部类
  124. 5.10.1 内部类的定义及访问
  125. 5.10.2 匿名内部类
  126. 5.11 专题应用 多类设计
  127. 自测与思考
  128. 第6章 Java实用类库
  129. 6.1 Java包及核心API
  130. 6.1.1 包的概念和作用
  131. 6.1.2 创建包
  132. 6.1.3 引用包中的类
  133. 6.1.4 常用的Java类库
  134. 6.2 String类和StringBuffer类
  135. 6.2.1 String类
  136. 6.2.2 StringBuffer类
  137. 6.3 集合接口与集合类
  138. 6.3.1 集合接口与相关实现类
  139. 6.3.2 常见集合类的用法
  140. 6.3.3 泛型集合
  141. 6.4 专题应用 开发一个应用项目的方法
  142. 自测与思考
  143. 第7章 异常与断言
  144. 7.1 异常
  145. 7.1.1 Java异常机制
  146. 7.1.2 try-catch语句
  147. 7.1.3 异常类的继承
  148. 7.1.4 Exception异常
  149. 7.1.5 try-catch-finally和try-with-resource结构
  150. 7.2 断言
  151. 7.2.1 断言的基本语法
  152. 7.2.2 断言在单元测试中的应用
  153. 7.3 专题应用 账户存款管理
  154. 自测与思考
  155. 第8章 Java文件操作
  156. 8.1 File类
  157. 8.1.1 创建文件对象
  158. 8.1.2 常用文件操作
  159. 8.2 文本文件的输入和输出
  160. 8.2.1 抽象字符流
  161. 8.2.2 文件字符流
  162. 8.2.3 缓冲字符流
  163. 8.3 字节文件的输入和输出
  164. 8.3.1 抽象字节流
  165. 8.3.2 文件字节流
  166. 8.4 数据流和对象流
  167. 8.4.1 数据流
  168. 8.4.2 对象流
  169. 8.5 专题应用 记录式文件的读写
  170. 自测与思考
  171. 第9章 Swing程序设计
  172. 9.1 GUI程序设计简介
  173. 9.2 Swing容器
  174. 9.2.1 JFrame容器
  175. 9.2.2 JPanel容器
  176. 9.3 布局管理器
  177. 9.3.1 FlowLayout布局管理器
  178. 9.3.2 BorderLayout布局管理器
  179. 9.3.3 GridLayout布局管理器
  180. 9.3.4 绝对定位
  181. 9.4 Java事件处理
  182. 9.4.1 事件模型
  183. 9.4.2 事件类和事件监听器
  184. 9.4.3 事件适配器
  185. 9.4.4 事件监听器的实现方式
  186. 9.5 常用Swing组件
  187. 9.5.1 标签
  188. 9.5.2 按钮
  189. 9.5.3 文本组件
  190. 9.5.4 单选按钮和复选框
  191. 9.5.5 列表框
  192. 9.5.6 组合框
  193. 9.5.7 对话框
  194. 9.5.8 菜单
  195. 9.6 专题应用 GUI的设计与实现
  196. 自测与思考
  197. 第10章 Applet程序设计
  198. 10.1 Applet简介
  199. 10.1.1 编写并运行第一个Applet程序
  200. 10.1.2 Applet程序的执行流程与生命周期
  201. 10.1.3 Applet类和JApplet类
  202. 10.1.4 Applet程序的安全性
  203. 10.2 Applet程序开发过程
  204. 10.2.1 使用NetBeans创建Applet程序
  205. 10.2.2 将Applet程序嵌入网页中
  206. 10.3 利用Applet程序展示多媒体
  207. 10.3.1 图形绘制
  208. 10.3.2 图像处理
  209. 10.3.3 声音输出
  210. 10.4 专题应用 图片轮换
  211. 自测与思考
  212. 第11章 多线程程序设计
  213. 11.1 线程的概念
  214. 11.1.1 程序与进程
  215. 11.1.2 进程与线程
  216. 11.1.3 Java的多线程机制
  217. 11.1.4 线程状态和生命周期
  218. 11.1.5 线程调度与优先级
  219. 11.2 多线程程序的编写
  220. 11.2.1 继承Thread类
  221. 11.2.2 实现Runnable接口
  222. 11.3 线程同步、死锁与合并
  223. 11.3.1 线程同步
  224. 11.3.2 线程死锁
  225. 11.3.3 线程合并
  226. 11.4 专题应用 龟兔赛跑
  227. 自测与思考
  228. 参考文献

FAQ

Is this book suitable for readers with no prior background?
The book starts with environment installation and basic syntax and includes numerous examples, making it suitable for beginners to study systematically; however, readers need basic computer operation skills.
Which Java version is the code in the book based on?
The book is written for Java 8 and covers that version's core features, which are sufficient for learning basic Java syntax and mainstream frameworks.
Does the book cover graphical user interface programming?
The book focuses mainly on core Java syntax and commonly used APIs and covers GUI programming such as Swing only briefly, with more emphasis on backend development fundamentals.

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

Pu Yunwei is an author active in the field of Chinese computer education publishing. Publicly available information about him is limited, and no systematic account of his identity or personal background has been found. Judging from the three works held in the catalog, his writing centers on two areas: introductory university computer courses and Java programming for beginners. University Computer: Cultivating Practical and Innovative Abilities reflects an emphasis on hands-on skills and innovative thinking, while Java Programming (Micro-Lecture Edition) and its companion volume Java Programming Exercises and Practice (Micro-Lecture Edition) combine micro-lectures with exercises and practice, balancing classroom teaching with after-class work. Overall, his books are aimed at beginners and students, written in accessible language and organized in a step-by-step manner. They fall under the common categories of examinations and programming design, and are suitable as course textbooks or self-study references.

田春瑾 Author

Tian Chunjin is a book author about whom little public information is available; the works currently traceable to this name concentrate on Java programming and number two titles: Java Programming (Micro-course Edition) and its companion volume, Java Programming Exercises and Practice (Micro-course Edition). Judging from their form, the first is likely a textbook for introductory and classroom teaching, while the second focuses on exercises and hands-on practice; together they form a combination of instruction and drill that helps readers consolidate syntax and programming ideas through practice after understanding them. The "micro-course" label suggests that the books may be accompanied by video explanations and other digital teaching resources, suiting both classroom instruction and self-study. In book classification, the works fall under programming design and examinations, indicating that they serve course teaching in universities or training institutions and may also provide review material for learners preparing for related exams. Apart from this information about the works, no public record of the author's education, positions, or professional experience has been found, and no speculation is made here.

王樱子 Author · Chinese

Wang Yingzi is an author of Chinese programming books, about whom limited public information is available. She is confirmed to have written two works: Java Programming (Microcourse Edition) and Java Programming Exercises and Practice (Microcourse Edition). Judging from the titles and their categories, her writing centers on introductory Java teaching: one book focuses on classroom instruction with supporting microcourses, while the other emphasizes exercises and hands-on practice, the two complementing each other to form a complete learning path from explanation to practice. Her works are often classified under programming design and examinations, suggesting the content serves both university course study and exam preparation, and is suitable for beginners who want to master syntax and programming thinking step by step. Overall, her editorial style tends toward textbook structure, with clear chapter levels and exercise arrangements that make the books easy to use for self-study or alongside a course. Because personal details are sparse, a fuller picture of her life and work awaits more material.

胡钰 Author

Public information about Hu Yu is limited, and what can currently be confirmed centers mainly on the works published under this name. Four titles are included in the collection, spanning a notably wide range of subjects: there is a book on urban space and history such as The Central Axis of All Phenomena, a social-science work on cultural confidence and the construction of national image titled National Image: Cultural Confidence and National Image, and programming textbooks including Java Programming (Micro-lecture Edition) and its companion Java Programming Exercises and Practice (Micro-lecture Edition). These works suggest that Hu Yu writes across culture, social science, and programming design, addressing both general readers interested in cultural topics and learners seeking technical instruction and practice. Common categories include social science, culture, programming design, and examinations. Because biographical materials are unavailable, further details about Hu Yu's background and identity cannot yet be provided.

柳翠寅 Author · Chinese

Liu Cuiyin is a Chinese author of programming books, about whom limited public information is available. Two works can currently be confirmed, both centered on Java programming. They are Java Programming (Micro-lecture Edition) and the companion Java Programming Exercises and Practice (Micro-lecture Edition). The first focuses on explaining course content, while the second provides exercises and hands-on practice, forming a structure that combines instruction with practice. Both adopt a micro-lecture format, making it easier for readers to study independently with digital resources such as videos, and they are suitable for classroom use as well as after-class review. In common categories, the works fall under programming design and examinations, indicating that the content serves both introductory programming teaching and reference for exam preparation. Overall, Liu Cuiyin's writing stays close to Java fundamentals and practice, with a textbook-oriented, practical style that emphasizes the connection between knowledge instruction and hands-on work.

刘领兵 Author · Chinese

Liu Lingbing is a Chinese author of programming books, though public information about him is limited and reliable details of his background, education, and positions are not available. Judging from the works held in the collection, he has written two books on the Java language: Java Programming (Micro-lecture Edition) and its companion volume Java Programming Exercises and Practice (Micro-lecture Edition), covering the fields of programming design and examination preparation. Both are presented in a "micro-lecture" format, suggesting that the writing pairs the main text with short video or section-by-section explanations so that readers can study and review at their own pace; the exercise and practice volume emphasizes hands-on consolidation to help readers understand syntax and program design ideas through practice. Overall, his works target beginning Java learners and exam candidates, with a textbook-like style that combines instruction with exercises, suitable for classroom teaching or self-study.

付湘琼 Author

Fu Xiangqiong is an author of programming books about whom limited public information is available. Two of her works are currently included in the library, both centered on Java programming: Java Programming (Micro-lecture Edition) and the companion volume Java Programming Exercises and Practice (Micro-lecture Edition). Judging from the titles and the common categories of programming design and examinations, the books are intended for university teaching and exam preparation, using a micro-lecture format that allows readers to study explanations and practice in tandem. The author emphasizes the connection between basic syntax, hands-on programming, and exercise drills, aiming to help learners consolidate each topic through immediate practice so as to meet the needs of both coursework and exam preparation. Since reliable records of her birth and death dates, nationality, and professional career are unavailable, this introduction makes no further inferences about her personal life and only describes the subject matter and purpose of her published works for readers' reference.

More by the same author

Top rated in the same category