![PROGRAMMING IN JAVA WITH OBJECT-ORIENTED FEATURES](https://cover.qianqiantushu.cc/52/s6c0d9b1.jpg)
![PROGRAMMING IN JAVA WITH OBJECT-ORIENTED FEATURES](https://cover.qianqiantushu.cc/52/s6c0d9b1.jpg)
PROGRAMMING IN JAVA WITH OBJECT-ORIENTED FEATURESPDF电子书下载
- 电子书积分:11 积分如何计算积分?
- 作 者:(印)Laxmisha Rai,刘法胜编著
- 出 版 社:东营:中国石油大学出版社
- 出版年份:2012
- ISBN:7563637109
- 页数:258 页
1 Introduction to Computers and Programming 1
1.1 History of Computer 1
1.2 What is a Computer? 1
1.3 Introduction to Software 2
1.4 Software Development Life-Cycle 2
1.5 Development of Programs 3
1.6 Programming Languages 3
1.7 Questions on the Chapter 5
2 Introduction to Object-Oriented Programming and Java 6
2.1 Introduction 6
2.2 Object-Oriented Concepts 6
2.3 Introduction to Java 7
2.4 Versions of Java 8
2.5 Writing the First Java Program 9
2.6 Running Java Programs 10
2.7 A Comprehensive understanding of Object-Oriented Concepts in Java 17
2.8 Questions on the Chapter 21
3 Programming Basics 22
3.1 Introduction 22
3.2 Variables 22
3.3 Identifiers 22
3.4 Java Keywords 23
3.5 Literals 24
3.6 Data Types 24
3.7 Type Casting 26
3.8 Questions on the Chapter 27
4 Operators and Expressions 29
4.1 Introduction 29
4.2 Relational and Equality Operators 29
4.3 Arithmetic Operators 30
4.4 Bit-Wise Operators 31
4.5 Assignment Operators 32
4.6 Increment and Decrement Operators 32
4.7 Logical Operators 33
4.8 Conditional Operators 34
4.9 Operator Precedence 34
4.10 Mathematical Functions 35
4.11 Operator Overloading 36
4.12 Questions on the Chapter 37
5 Selection Statements 38
5.1 Introduction 38
5.2 The ifStatements 38
5.3 The if..else Statements 40
5.4 The if..else…if Statements 41
5.5 Nested if..else Statements 43
5.6 The switch Statement 45
5.7 The Ternary Operator 49
5.8 Questions on the Chapter 50
6 Looping Statements 52
6.1 Introduction 52
6.2 The while Loop 52
6.3 The do...while Loop 54
6.4 The for Loop 58
6.5 Nesting of Loops 61
6.6 The break statement 62
6.7 The continue statement 66
6.8 Jumping Statements 67
6.9 Questions on the Chapter 72
7 Arrays 75
7.1 Introduction 75
7.2 One-Dimensional Arrays 76
7.3 Multi-Dimensional Arrays 79
7.4 Applications of Two-Dimensional Arrays 81
7.5 Questions on the Chapter 89
8 Strings 90
8.1 Introduction 90
8.2 Creating Strings 90
8.3 String Methods 91
8.4 Arrays ofStrings 94
8.5 Converting Strings to Numerical Data 95
8.6 Converting Numerical Data to Strings 97
8.7 Command line Arguments 97
8.8 Questions on the Chapter 99
9 Classes and 0bjects 100
9.1 Introduction 100
9.2 Object Definition 100
9.3 Class Definition 101
9.4 Overloaded Methods 105
9.5 Multiple Objects 106
9.6 ArrayofObjects 108
9.7 Access Modifiers 110
9.8 Questions onthe Chapter 113
10 Searching and Sorting 115
10.1 Introduction 115
10.2 Searching 115
10.3 Linear Search 115
10.4 Binary Search 117
10.5 Sorting 119
10.6 Insertion Sort 120
10.7 Selection Sort 122
10.8 Bubble Sort 125
10.9 Sorting Characters and Strings 128
10.10 Questions on the Chapter 132
11 Constructors 133
11.1 Introduction 133
11.2 Default Constructers 135
11.3 Constructors with Parameters 136
11.4 Multiple Constructors 138
11.5 The this Keyword 139
11.6 Questions on the Chapter 143
12 Inheritance 145
12.1 Introduction 145
12.2 Single Inheritance 145
12.3 The protected Keyword 150
12.4 Overriding Data and Methods 152
12.5 The super Keyword 153
12.6 Constructors and Inheritance 154
12.7 Questions on the Chapter 156
13 Polymorphism 158
13.1 Introduction 158
13.2 The instance ofOperator 164
13.3 Abstract Methods 167
13.4 Abstract Class 167
13.5 Questions on the Chapter 169
14 Exception Handling 170
14.1 Introduction 170
14.2 Handling Exceptions 171
14.3 Kinds of Exceptions 173
14.4 Catching Multiple Exceptions 176
14.5 The throw Keyword 177
14.6 Questions on the Chapter 178
15 GUI Objects and Event Programming 180
15.1 Introduction 180
15.2 GUI Objects in Java 180
15.3 Layout Managers 188
15.4 Positioning of GUI Components 193
15.5 Event-Driven Programming 195
15.6 Menu Handling 204
15.7 Questions on the Chapter 208
16 Applets 209
16.1 Introduction 209
16.2 The FirstApplet Program 209
16.3 Applets and HTML 211
16.4 Life Cycle ofan Applet 211
16.5 More Applet Programs 214
16.6 Sound and Image Programs 220
16.7 Questions on the Chapter 223
17 Thread Programming 224
17.1 Introduction 224
17.2 ASimpleThread 224
17.3 The setName() and getName() Methods 228
17.4 The setPriority0 and getPriority() Methods 229
17.5 The sleep () Method 232
17.6 The Runnable Interface 233
17.7 Questions on the Chapter 234
18 Input and Output Streams 235
18.1 Introduction 235
18.2 Input and Output Streams 235
18.3 File I/O 237
18.4 Questions on the Chapter 242
19 Network Programming in Java 243
19.1 Introduction 243
19.2 The Client and Server 243
19.3 Understanding the Socket Object 243
19.4 Questions on the Chapter 246
AppendixA: Model Questions 247
Appendix B: English-Chinese Vocabulary List 252
- 《碧岩录编著者 圜悟克勤大师传 全新小说版》吴言生著 2011
- 《英语 选修8 人民教育出版社 课程教材研究所 英语课程教材研究开发中心编著》刘道义主编;龚亚夫,郑旺全副主编 2007
- 《建设工程监理操作指南 按新规范编著》李明安编著 2013
- 《生物2 遗传与进化 必修 教师教学用书 人民教育出版社,课程教材研究所,生物课程教材研究开发中心编著》朱正威,赵占良主编;李红副主编 2007
- 《语文 4 必修 人民教育出版社,课程教材研究所,中学语文课程教材研究开发中心,北京大学中文系,语文教育研究所编著》熊江平,刘勇强主编 2006
- 《地图阅读与考察 初中适用 森玛逊(香港)教育研究中心地理组编著》何任小薇主编 1989
- 《多媒体素材制作与编著集成》刘毓敏,梁斌,黄炎波编著 2006
- 《农村科技示范户100例《农村科技示范户100例》编写组编著》《农村科技示范户100例》编写组编著 1986
- 《汉口宁波帮 陈祖源等编著》华长慧主编 2009
- 《江西编著人物传略》黄日星,姜钦云编 1994
- 《市政工程基础》杨岚编著 2009
- 《家畜百宝 猪、牛、羊、鸡的综合利用》山西省商业厅组织技术处编著 1959
- 《《道德经》200句》崇贤书院编著 2018
- 《高级英语阅读与听说教程》刘秀梅编著 2019
- 《计算机网络与通信基础》谢雨飞,田启川编著 2019
- 《看图自学吉他弹唱教程》陈飞编著 2019
- 《法语词汇认知联想记忆法》刘莲编著 2020
- 《培智学校义务教育实验教科书教师教学用书 生活适应 二年级 上》人民教育出版社,课程教材研究所,特殊教育课程教材研究中心编著 2019
- 《国家社科基金项目申报规范 技巧与案例 第3版 2020》文传浩,夏宇编著 2019
- 《流体力学》张扬军,彭杰,诸葛伟林编著 2019
- 《大学计算机实验指导及习题解答》曹成志,宋长龙 2019
- 《中国当代乡土小说文库 本乡本土》(中国)刘玉堂 2019
- 《异质性条件下技术创新最优市场结构研究 以中国高技术产业为例》千慧雄 2019
- 《中国铁路人 第三届现实主义网络文学征文大赛一等奖》恒传录著 2019
- 《莼江曲谱 2 中国昆曲博物馆藏稀见昆剧手抄曲谱汇编之一》郭腊梅主编;孙伊婷副主编;孙文明,孙伊婷编委;中国昆曲博物馆编 2018
- 《中国制造业绿色供应链发展研究报告》中国电子信息产业发展研究院 2019
- 《中国陈设艺术史》赵囡囡著 2019
- 《《走近科学》精选丛书 中国UFO悬案调查》郭之文 2019
- 《大学生心理健康与人生发展》王琳责任编辑;(中国)肖宇 2019
- 《清至民国中国西北戏剧经典唱段汇辑 第8卷》孔令纪 2018