Java programming ideas,
Chapter 2 object Introduction
1.1 abstract process
1.2 each object has an Interface
1.3 each object provides services.
1.4 specific implementation of hiding
1.5 reuse implementation
1.6 inheritance
1.6.1 The relationship between "yes" and "like"
1.7 interchangeable objects accompanied by Polymorphism
1.8 single Integration Structure
1.9 containers
1.9.1 parameterized type
1.10 creation and lifecycle of Objects
1.12 concurrent programming
1.13 Java and Internet
1.13.1 what is Web
1.13.2 client Programming
1.13.3 Server programming
1.14 conclusion
Chapter 1 everything is an object
2.1 manipulate objects with reference
2.2 you must create all objects
2.2.1 storage location
2.2.2 Special Case: Basic Type
2.2.3 arrays in Java
2.3 never need to destroy objects
2.3.1 Scope
2.3.2 scope of an object
2.4 create Xin data type: Class
2.4.1 fields and Methods
2.5 Methods, parameters, and returned values
2.5.1 parameter list
2.6 construct a Java program
2.6.1 name visibility
2.6.2 run other builds
2.6.3 static keyword
2.7 your first Java program
2.7.1 compile and run
2.8 comments and embedded documents
2.8.1 comments
2.8.2 syntax
2.8.3 embedded HTML
2.8.4 some tag examples
2.8.5 document examples
2.9 encoding Style
2.10 conclusion
2.11 exercise
Chapter 1 Operators
3.1 simpler print statements
3.2 use Java Operators
3.3 Priority
3.4 assignment
3.4.1 alias problems in method calls
3.5 Arithmetic Operators
3.5.1 unary addition and subtraction Operators
3.6 auto increment and decrease
3.7 Relational operators
3.8 logical operators
3.8.1 Short Circuit
3.9 direct Constants
3.9.1 exponential counting
3.10 bitwise operators
3.11 Shift Operator
3.12 ternary operator if-else
3.13 character operators + and + =
3.14 common mistakes made by operators
3.15 type conversion Operator
3.15.1 tail truncation and rounding
3.15.2 upgrade
3.16 Java does not have sizeof
3.17 operator Summary
3.18 conclusion
Chapter 4 control Execution Process
4.1 true and false
4.2 if-else
4.3 Iteration
4.3.1 do-while
4.3.2
4.3.3 comma Operator
4.4 Foreach syntax
4.5 return
4.6 break and continue
4.7 notorious goto
4.8 switch
4.9 conclusion
Chapter 4 initialization and cleanup
5.1 use the constructor to ensure initialization.
5.2 method overload
5.2.1 Method for distinguishing Heavy Loads
5.2.2 heavy load involving basic types
5.2.3 distinguish between overload methods with return values
5.3 default constructor
5.4 this keyword
5.4.1 call the constructor In the constructor
5.4.2 meaning of static
5.5 cleanup: final processing and garbage collection
5.5.1 use of finalize ()
5.5.2 You must clean up
5.5.3 termination conditions
5.5.4 how the garbage collector works
5.6 initialize a member
5.6.1 specify Initialization
5.7 constructor Initialization
5.7.1 initialization sequence
5.7.2 static data Initialization
5.7.3 explicit static Initialization
5.7.4 non-static instance Initialization
5.8 array Initialization
5.8.1 Variable Parameter List
5.9 Enumeration type
5.10 conclusion
Chapter 4 access permission Control
6.1 package: Library Unit
6.1.1 code rental
6.1.2 unique package name
6.1.3 custom tool Library
6.14 use import to change behavior
6.1.5 advice on using packages
6.2 Java access permission Modifier
6.2.1 package access permission
6.2.1 public: interface access permission
6.2.2 private: you cannot access
6.2.3 protected: inherits the access permission
6.3 Interfaces and Implementations
6.4 class Access Permissions
6.5 conclusion