当前位置:网站首页 > Java教程 > 正文

java编程教程英文版

目?录



Chapter 1?Introduction?计算机系统概述 1


1.1?Computer Processing?计算机处理过程 2


1.2?Hardware Components?硬件组件 10


1.3?Networks?网络 19


1.4?The Java Programming Language?Java编程语言 26


1.5?Program Development?程序开发 35


1.6?Object-Oriented Programming?面向对象编程 43


Chapter 2?Data and Expressions?数据与表达式 55


2.1?Character Strings?字符串 56


2.2?Variables and Assignment?变量与赋值 63


2.3?Primitive Data Types?基本数据类型 69


2.4?Expressions?表达式 73


2.5?Data Conversion?数据类型转换 81


2.6?Interactive Programs?交互式程序 85


Chapter 3?Using Classes and Objects?类与对象 99


3.1?Creating Objects?创建对象 100


3.2?The String Class?String类 104


3.3?Packages?包 108


3.4?The Random Class?Random类 112


3.5?The Math Class?Math类 115


3.6?Formatting Output?格式化输出 118


3.7?Enumerated Types?枚举类型 124


3.8?Wrapper Classes?包装器类 127


3.9?Introduction to JavaFX?JavaFX简介 129


3.10?Basic Shapes?基本形状 133


3.11?Representing Colors?颜色呈现 140


Chapter 4?Writing Classes?编写类 147


4.1?Classes and Objects Revisited?类与对象的核心概念 148


4.2?Anatomy of a Class?类的分析 150


4.3?Encapsulation?封装 157


4.4?Anatomy of a Method?方法的分析 160


4.5?Constructors Revisited?再论构造方法 169


4.6?Arcs?弧 170


4.7?Images?图形 173


4.8?Graphical User Interfaces?图形用户界面 176


4.9?Text Fields?文本框 180


Chapter 5?Conditionals and Loops?条件判断与循环 191


5.1?Boolean Expressions?布尔表达式 192


5.2?The if Statement?if语句 197


5.3?Comparing Data?数据比较 210


5.4?The while Statement?while语句 214


5.5?Iterators?迭代器 225


5.6?The ArrayList Class?ArrayList类 229


5.7?Determining Event Sources?确定事件源 232


5.8?Managing Fonts?管理字体 234


5.9?Check Boxes?复选框 237


5.10?Radio Buttons?单选钮 241


Chapter 6?More Conditionals and Loops?其他条件判断与循环 255


6.1?The switch Statement?switch语句 256


6.2?The Conditional Operator?条件运算符 260


6.3?The do Statement?do语句 261


6.4?The for Statement?for语句 265


6.5?Using Loops and Conditionals with Graphics?对图形使用循环和条件 271


6.6?Graphic Transformations?图形转换 276


Chapter 7?Object-Oriented Design?面向对象设计 289


7.1?Software Development Activities?软件开发活动 290


7.2?Identifying Classes and Objects?明确类和对象 291


7.3?Static Class Members?静态类成员 293


7.4?Class Relationships?类间关系 298


7.5?Interfaces?接口 310


7.6?Enumerated Types Revisited?再论枚举类型 317


7.7?Method Design?方法设计 320


7.8?Method Overloading?方法重载 331


7.9?Testing?测试 333


7.10?GUI Design?GUI设计 337


7.11?Mouse Events?鼠标事件 338


7.12?Key Events?按键事件 343


Chapter 8?Arrays?数组 355


8.1?Array Elements?数组元素 356


8.2?Declaring and Using Arrays?声明和使用数组 357


8.3?Arrays of Objects?对象数组 368


8.4?Command-Line Arguments?命令行实参 378


8.5?Variable Length Parameter Lists?可变长度参数表 380


8.6?Two-Dimensional Arrays?二维数组 384


8.7?Polygons and Polylines?多边形和折线 389


8.8?An Array of Color Objects?Color对象数组 392


8.9?Choice Boxes?选项框 395


Chapter 9?Inheritance?继承 407


9.1?Creating Subclasses?创建子类 408


9.2?Overriding Methods?重写方法 419


9.3?Class Hierarchies?类层次结构 422


9.4?Visibility?可见性 427


9.5?Designing for Inheritance?继承关系的设计 430


9.6?Inheritance in JavaFX?JavaFX中的继承 432


9.7?Color and Date Pickers?颜色和日期选择器 434


9.8?Dialog Boxes?对话框 438


Chapter 10?Polymorphism?多态性 451


10.1?Late Binding?后绑定 452


10.2?Polymorphism via Inheritance?利用继承实现多态性 453


10.3?Polymorphism via Interfaces?利用接口实现多态性 466


10.4?Sorting?排序 468


10.5?Searching?搜索 477


10.6?Designing for Polymorphism?多态性设计 483


10.7?Properties?属性 485


10.8?Sliders?滑动条 491


10.9?Spinners?微调器 493


Chapter 11?Exceptions?异常 501


11.1?Exception Handling?异常处理 502


11.2?Uncaught Exceptions?未捕获的异常 503


11.3?The try-catch Statement?try-catch语句 504


11.4?Exception Propagation?异常的传递 509


11.5?The Exception Class Hierarchy?异常类层次结构 513


11.6?I/O Exceptions?I/O异常 517


11.7?Tool Tips and Disabling Controls?工具提示与禁用控件 521


11.8?Scroll Panes?滚动面板 525


11.9?Split Panes and List Views?分隔面板和列表视图 528


Chapter 12?Recursion?递归 537


12.1?Recursive Thinking?递归思想 538


12.2?Recursive Programming?递归编程 540


12.3?Using Recursion?递归的应用 544


12.4?Tiled Images?平铺图形 555


12.5?Fractals?分形 559


Chapter 13?Collections?集合 573


13.1?Collections and Data Structures?集合与数据结构 574


13.2?Dynamic Representations?数据结构的动态表示 575


13.3?Linear Collections?线性集合 583


13.4?Non-Linear Data Structures?非线性数据结构 587


13.5?The Java Collections API?Java集合类API 590


Appendix A Glossary?术语表 597


Appendix B Number Systems?数制系统 621


Appendix C The Unicode Character Set?Unicode字符集 629


Appendix D Java Operators?Java运算符 633


Appendix E Java Modifiers?Java修饰符 639


Appendix F Java Coding Guidelines?Java编码指南 643


Appendix G JavaFX Layout Panes?JavaFX布局面板 649


Appendix H JavaFX Scene Builder 659


Appendix I Regular Expressions?正则表达式 669


Appendix J Javadoc Documentation Generator?Javadoc文档生成器 671


Appendix K Java Syntax?Java语法 677


Appendix L Answers to Self-Review Questions?自测题答案 691

  • 上一篇: java json boon 教程
  • 下一篇: java7教程
  • 版权声明


    相关文章:

  • java json boon 教程2024-12-12 08:18:03
  • java bs开发教程2024-12-12 08:18:03
  • mac版 java安装教程视频教程2024-12-12 08:18:03
  • java翻新教程2024-12-12 08:18:03
  • 读写程序教程java2024-12-12 08:18:03
  • java7教程2024-12-12 08:18:03
  • win7 java环境搭建教程2024-12-12 08:18:03
  • java拉勾教程视频2024-12-12 08:18:03
  • java教程 快速入门2024-12-12 08:18:03
  • java版本打印教程2024-12-12 08:18:03