书籍详情

Java 编程习题与解答

Java 编程习题与解答

作者:(美)John R.Hubbard

出版社:机械工业出版社

出版时间:2002-08-01

ISBN:9787111105824

定价:¥28.00

购买这本书可以去
内容简介
  This powerful study tool is the best tutor you can have if you want top grades and thorough understanding of programming with Java, the computing language being taught as a basic at more and more colleges. This student-friendly study guide leads you step-by-step through the entire beginning computer science course, giving you hundreds of problems with fully worked solutions and easy-to-follow examples for every new topic. You get complete explanations of strings, arrays, loops, graphics, GUIs, classes and objects, exception handling, and more. With this guide, which works alone or with any text, you can learn to create the most-wanted Net applications, such as animations and audio streams. Schaums are the most popular study guide in the world, and this guide will show you why!
作者简介
暂缺《Java 编程习题与解答》作者简介
目录
Chapter 1 Getting Started
1.1 THE JAVA PROGRAMMING LANGUAGE
1.2 DOWNLOADING THE JAVA DEVELOPMENT KIT
1.3 INSTALLING THE JDK
1.4 CREATING AND RUNNING A PROGRAM IN MICROSOFT WINDOWS
1.5 TROUBLESHOOTING
1.6 ANALYSIS OF THE He11oworld PROGRAM
1.7 COMMENTS
1.8 PROGRAMS WITH INPUT
1.9 NUMERIC INPUT
1.10 VARIABLES AND OBJECTS
1.11 ARIrnMEnC AND ASSIGNMENT OPERATORS
Cbapter 2 Strngs
2.1 THE String CLASS
2.2 SUBSTRINGS
2.3 CHANGING CASE
2.4 CONCATENATION
2.5 LOCATING A CHARACTER WITHIN A STRING
2.6 REPLACING CHARACTERS IN A STRING
2.7 REPRESENTING A PRIMITIVE VALUE IN A STRING
2.8 SUMMARY OF THE String CLASS METHODS
2.9 THE StringBuffer CLASS
2.10 SUMMARY OFTHE StringBuffer CLASS METHODS
Chapter 3 Selection
3.1 THE if STATEMENT
3.2 THE if... e1se STATEMENT
3.3 THE if... e1se if... STATEMENT COMBINATION
3.4 NESTED CONDInONALS
3.5 COMPOUND STATEMENTS
3.6 OPERATORS
3.7 ORDER OF EVALUATION
3.8 boo1ean VARIABLES
3.9 THE CONDITIONAL OPERATOR
3.10 ASSIGNMENT OPERATORS
3.1l THE switch STATEMENT
Chapter 4 Iteration
4.1 THE for STATEMENT
4.2 THE whi1e STATEMENT
4.3 SOME NUMBER CRUNCHING
4.4 THE do.. .while STATEMENT
4.5 MORE NUMBER CRUNCHING
4.6 NESTED LOOPS
Chapter 5 Methods
5.1 SIMPLE EXAMPLES
5.2 LOCAL VARIABLES
5.3 METHODS OFTEN INVOKE OTHER METHODS
5.4 METHODS THAT INVOKE THEMSELVES
5.5 boo1ean METHODS
5.6 void METHODS
5.7 OVERLOADING
Chapter 6 Classes
6.1 CLASSES
6.2 DECLARATIONS
6.3 MODIFIERS
6.4 CONSTRUCTORS
6.5 COPY CONSTRUCTORS
6.6 DEFAULT CONSTRUCTORS
6.7 CLASS INVARlANTS
6.8 IDENTITY, EQUALITY, AND EQUIVALENCE
6.9 MORE CLASS INVARIANTS
6.10 WRAPPER CLASSES
Cbapter 7 Composition and Inheritance
7.1 COMPOSITION
7.2 RECURSIVECLASSES
7.3 INHERITANCE
7.4 OVERRIDING FIELDS AND METHODS
7.5 THE super KEYWORD
7.6 INHERITANCE VERSUS COMPOSITION
7.7 CLASS HIERARCHIES
7.8 THE Object CLASS
7.9 THE JAVA CLASS HIERARCHY
7.10 THE c1one() AND equals () METHODS
Chapter 8 Arrays and Vectors
8.1 CHARACTER ARRAYS
8.2 PROPERTIES OF ARRAYS IN JAVA
8.3 COPYING AN ARRAY
8.4 THE Vector CLASS
8.5 THE SIZE AND CAPACITY OF A Vector OBJECT
8.6 CHANGES TO THE Vector CLASS IN JAVA 1.2
8.7 TWO-DIMENSIONAL ARRAYS
Chapter 9 Graphics
9.1 THE AWT LIBRARIES
9.2 THE Frame CLASS
9.3 THE Co1or CLASS
9.4 COMPONENTS
9.5 THE Button CLASS
9.6 MANAGING LAYOUTS
9.7 EVENT-DRIVEN PROGRAMMING
9.8 THE TextField CLASS
Chapter 10 Applets,Threads, and Exceptious
10.1 APPLETS
10.2 THE Applet CLASS
10.3 THE Thread CLASS
10.4 EXCEPTIONS
Appendix A Acronyms
Appendix B The JBuilder IDE
Appendix C The CodeWarrior IDE
Appendix D Computer Numbers
D.1 THE FINITE AND THE INFINITE
D.2 NUMBERTYPES
D.3 RANGES OF INTEGER TYPES
D.4 INTEGER OVERFLOW
D.5 RANGES OF FLOATING-POINT TYPES
D.6 THE INFINITY AND NaN CONSTANTS
Appendix E Unicode
Appendix F References
Index
猜您喜欢

读书导航