Java Core Technology Volume 1 basic Knowledge (original book 9th edition) (complete Chinese version). Pdf__java

Source: Internet
Author: User
Tags anonymous bit set exception handling reflection stack trace wrapper java web java keywords


Download address: Network disk download






Introduction to the content



One of the most influential and valuable works in the Java field, with more than 20 years of experience in teaching and research of senior Java technology experts to write (won the Jolt Award), and "Java Programming ideas," the same as the more than 10-year global best-selling not decline, popular acclaim. The 9th edition is completely updated according to JavaSE7, at the same time correcting the deficiencies in the 8th edition, the system comprehensively explains the core concept, grammar, important characteristic and development method of Java language, contains a lot of cases, the practice is strong.



"Java Core Technology • Volume 1: Basics" altogether 14 chapters. The 1th chapter outlines the different performance of Java language and other programming languages. The 2nd chapter explains how to download and install the JDK and the program examples of this book; Chapter 3rd introduces variables, loops, and simple functions; Chapter 4th explains the classes and encapsulation; The 5th chapter describes the interfaces and inner classes. The 7th chapter outlines the knowledge of graphical user interface programming; Chapter 8th discusses AWT's event model; Chapter 9th discusses the Swinggui Toolbox; The chapter 10th describes how to deploy your own application or applet; Chapter 11th discusses exception handling; 12th chapter outlines generic programming The 13th chapter explains the framework of the Java platform, and the 14th chapter introduces multithreading. The book concludes with an appendix that lists the reserved words in the Java language.

Author Introduction



Cay Horstmann, a professor of computer science at San Jose State University and an advocate of the Java language, is also the author of the Scala for the impatient (addison-wesley,2012) and the Core JavaServer Co-author of faces,3rd's Book (Prentice Hall, 2010). He also often made a speech at a computer conference.


Cray Cornell, who has been teaching programming for more than 20 years, has written a number of monographs. He is one of the founders of Apress, who wrote a very popular program design book, won the Jolt Shock award and won the most favorite Works award from Visual Basic Magazine readers.

Table of ContentsTranslator Preface
Objective
Thanks
1th Chapter Java Programming Overview
1.1 Java Programming Platform
Key terms for 1.2 Java "white paper"
1.2.1 of Simplicity
1.2.2 Object Oriented
1.2.3 Network Skills
Robustness of 1.2.4
1.2.5 Security
1.2.6 System Structure Neutrality
1.2.7 Portability
1.2.8 Explanatory type
1.2.9 High Performance
1.2. More than 10 threads
Dynamic of 1.2.11
1.3 Java applets and the Internet
A brief history of 1.4 Java development
1.5 Common Misconceptions about Java
2nd Chapter Java Programming Environment
2.1 Installing the Java Development Toolbox
2.1.1 Download JDK
2.1.2 Set Execution path
2.1.3 Installation Library source files and documents
2.1.4 Install the example in this book
2.1.5 Navigation Java Directory
2.2 Select development environment
2.3 Using command line tools
2.4 Using the Integrated development environment
2.5 Running a graphical application
2.6 Setting up and running applets
The 3rd Chapter Java Basic Program Design structure
3.1 A simple Java application
3.2 Notes
3.3 Data types
3.3.1 Integral type
3.3.2 Floating-point type
3.3.3 Char Type
3.3.4 Boolean type
3.4 Variables
3.4.1 Variable Initialization
3.4.2 Constants
3.5 operator
3.5.1 self-increasing operator and self-subtraction operator
3.5.2 relational operators and Boolean operators
3.5.3-bit operator
3.5.4 Mathematical functions and constants
3.5.5 conversions between numeric types
3.5.6 Coercion Type conversion
3.5.7 Bracket and operator level
3.5.8 enumeration types
3.6 string
3.6.1 substring
3.6.2 Stitching
3.6.3 Immutable strings
3.6.4 detect whether strings are equal
3.6.5 empty string and null string
3.6.6 code points and code units
3.6.7 String API
3.6.8 read the online API documentation
3.6.9 Build String
3.7 Input and output
3.7.1 Read input
3.7.2 formatted output
3.7.3 file input and output
3.8 Control Flow
3.8.1-Block scopes
3.8.2 Conditional statement
3.8.3 Cycle
3.8.4 OK loop
3.8.5 multiple selections: Switch statements
3.8.6 Interrupt Control Process statement
3.9 Large values
3.10 Array
3.10.1 for Each loop
3.10.2 array initialization and anonymous arrays
3.10.3 Array Copy
3.10.4 Command Line arguments
3.10.5 Array Sorting
3.10.6-dimensional arrays
3.10.7 an irregular array
4th Chapter Objects and classes
4.1 Overview of Object-oriented programming
4.1.1 Class
4.1.2 Objects
4.1.3 Recognition class
The relationship between 4.1.4 classes
4.2 Using predefined classes
4.2.1 Objects and Object variables
4.2.2 Gregorian-calendar Classes in Java class libraries
4.2.3 Change method and accessor method
4.3 User-defined classes
4.3.1 Employee class
4.3. Use of more than 2 source files
4.3.3 Analysis of Employee class
4.3.4 starts with the constructor
4.3.5 implicit and Explicit parameters
Advantages of 4.3.6 Encapsulation
4.3.7 access rights based on the class
4.3.8 Private Method
4.3.9 Final instance Domain
4.4 Static domain and static method
4.4.1 Static domain
4.4.2 Static Constants
4.4.3 static method
4.4.4 Factory method
4.4.5 Main method
4.5 Method parameters
4.6 Object Construction
4.6.1 Overload
4.6.2 Default Domain initialization
4.6.3 constructor with no parameters
4.6.4 an explicit field initialization
Name of 4.6.5 parameter
4.6.6 Call another builder
4.6.7 initialization block
4.6.8 object Deconstruction and Finalize method
4.7 Packs
Import of 4.7.1 Classes
4.7.2 Static Import
4.7.3 the class into the package
4.7.4 Package Scope
4.8 Class Path
4.9 Documentation Comments
Insert of 4.9.1 annotation
4.9.2 class Annotation
4.9.3 Method Annotation
4.9.4 Domain Annotation
4.9.5 General Comment
4.9.6 Package with Overview comments
Extraction of 4.9.7 annotations
4.10 Types of Design skills
5th Chapter Inheritance
5.1 classes, superclass and subclasses
5.1.1 Inheritance Hierarchy
5.1.2 Polymorphism
5.1.3 Dynamic Binding
5.1.4 Block Inheritance: final Classes and methods
5.1.5 Coercion Type conversion
5.1.6 Abstract class
5.1.7 Protected Access
5.2 Object: Super class for all classes
5.2.1 Equals method
5.2.2 Equality Test and inheritance
5.2.3 Hashcode Method
5.2.4 ToString Method
5.3 List of generic arrays
5.3.1 Access Array list elements
5.3.2 type compatibility with the original array list
5.4 Object wrapper and automatic boxing
5.5 Method of variable number of parameters
5.6 Enumeration Classes
5.7 Reflection
5.7.1 Class Classes
5.7.2 catch exception
5.7.3 ability to use reflection to analyze classes
5.7.4 using reflection profiling objects at run time
5.7.5 to write generic array code using reflection
5.7.6 Call any method
5.8 Techniques for inheriting design
6th Chapter interface and inner class
6.1 Interface
Characteristics of the 6.1.1 interface
6.1.2 Interfaces and abstract classes
6.2 Object Clones
6.3 Interface and callback
6.4 Internal class
6.4.1 uses internal classes to access object state
Special syntax rules for 6.4.2 inner classes
6.4.3 internal classes are useful, necessary, and secure
6.4.4 local Inner class
6.4.5 access to final variable by external method
6.4.6 Anonymous Inner class
6.4.7 static Inner class
6.5 Agent
7th Chapter Graphic Programming
7.1 Swing Overview
7.2 Creating a framework
7.3 Frame Positioning
7.3.1 Frame Properties
7.3.2 determine the appropriate frame size
7.4 Displaying information in components
7.5 Processing 2D Graphics
7.6 Using Colors
7.7 Text uses special fonts
7.8 displaying images
8th Chapter Event Handling
8.1 Event-Handling basics
8.1.1 Instance: Handling button click events
8.1.2 recommended to use internal classes
8.1.3 Create a listener that contains a method call
8.1.4 Example: changing perceptions
8.1.5 Adapter Class
8.2 Action
8.3 Mouse Events
8.4 AWT Event Inheritance Hierarchy
9th Chapter Swing User interface components
9.1 Swing and model-view-controller design Patterns
9.1.1 Design Pattern
9.1.2 Model-View-Controller mode
9.1.3 Swing button Model-View-controller analysis
9.2 Overview of layout management
9.2.1 Border Layout
9.2.2 Grid Layout
9.3 Text Input
9.3.1 Text Field
9.3.2 Label and label components
9.3.3 Password field
9.3.4 Text Area
9.3.5 Scroll Pane
9.4 Select components
9.4.1 check box
9.4.2 radio button
9.4.3 border
9.4.4 combo Box
9.4.5 Slide Bar
9.5 Menu
9.5.1 Menu Creation
Icons in 9.5.2 menu items
9.5.3 check box and radio button menu items
9.5.4 pop-up Menu
9.5.5 shortcut keys and accelerators
9.5.6 Enable and Disable menu items
9.5.7 Tool Bar
9.5.8 Tool Tips
9.6 Complex layout Management
9.6.1 Grid Group Layout
9.6.2 Group Layout
9.6.3 does not use Layout manager
9.6.4 Custom layout Manager
9.6.5 Traversal Order
9.7 dialog box
9.7.1 Options Dialog box
9.7.2 Create a dialog box
9.7.3 data exchange
9.7.4 file dialog box
9.7.5 Color Picker
Chapter 10th deploying applications and applets
10.1 Jar File
10.1.1 manifest file
10.1.2 can run jar files
10.1.3 Resources
10.1.4 Seals
10.2 Java Web Start
10.2.1 Sand Box
10.2.2 Signature Code
10.2.3 JNLP API
10.3 Applet
10.3.1 a simple applet
HTML tags and attributes for 10.3.2 applets
10.3.3 Object Tag
10.3.4 use parameters to pass information to the applet
10.3.5 access to images and audio files
10.3.6 Applet Context
10.4 Application Preference Stores
10.4.1 Property Mappings
10.4.2 Preferences API
11th chapter exceptions, assertions, logs, and debugging
11.1 Processing Errors
11.1.1 Anomaly Classification
11.1.2 declaration has checked for exceptions
11.1.3 How to throw an exception
11.1.4 Create an Exception class
11.2 Catching exceptions
11.2.1 Catch multiple exceptions
11.2.2 throws exception and exception chain again
11.2.3 finally clause
11.2.4 a try statement with resources
11.2.5 Analysis Stack trace elements
11.3 Tips for using exception mechanisms
11.4 Using assertions
11.4.1 Enable and disable assertions
11.4.2 using assertions to complete a parameter check
11.4.3 use assertions for document assumptions
11.5 Record Log
11.5.1 Basic Log
11.5.2 Advanced Log
11.5.3 Modify Log Manager configuration
11.5.4 localization
11.5.5 processor
11.5.6 Filter
11.5.7 Formatter
11.5.8 Logging Description
11.6 Debugging Tips
11.7 GUI Program Debugging Tips
11.8 Using the debugger
The 12th chapter of generic programming
12.1 Why to use generic programming
12.2 Defining a simple generic class
12.3 Generic methods
12.4 Qualification of type variables
12.5 Generic code and virtual machines
12.5.1 translation Generic expressions
Generic method of 12.5.2 translation
12.5.3 Invoke Legacy Code
12.6 Constraints and limitations
12.6.1 cannot instantiate type parameters with base types
12.6.2 run-time type queries apply only to the original type
12.6.3 cannot create an array of parameterized types
12.6.4 varargs Warning
12.6.5 cannot instantiate a type variable
Invalid type variable in static context of 12.6.6 generic class
12.6.7 cannot throw or capture instances of generic classes
12.6.8 attention to the conflict after Erasure
12.7 inheritance rules for generic types
12.8 wildcard Type
Super type qualification for 12.8.1 wildcard characters
12.8.2 wildcard characters without qualification
12.8.3 Wildcard Capture
12.9 Reflection and generics
12.9.1 using class parameters for type matching
12.9.2 generic type information in a virtual machine
13th Chapter Collection
13.1 Collection Interface
13.1.1 separates the interface of the set from the implementation
13.1.2 the collection interface and iterator interface in Java class libraries
13.2 Concrete Sets
13.2.1 Linked List
13.2.2 Array List
13.2.3 Hash Set
13.2.4 Tree Set
Comparison of 13.2.5 objects
13.2.6 queues and two-terminal queues
13.2.7-Priority queues
13.2.8 Mapping Table
13.2.9 special set and Mapping table class
13.3 Collection Framework
13.3.1 View and Wrapper
13.3.2 Batch Operation
13.3.3 the transformation between a collection and an array
13.4 algorithm
13.4.1 Sorting and mixed rows
13.4.22-Point Search
13.4.3 Simple algorithm
13.4.4 to write your own algorithm
13.5 Legacy Collections
13.5.1 Hashtable class
13.5.2 Enumeration
13.5.3 Property Mapping Table
13.5.4 Stack
13.5.5-bit Set
14th Chapter Multithreading
14.1 What is a thread
14.2 Interrupt Thread
14.3 Thread State
14.3.1 newly created thread
14.3.2 can run a thread
14.3.3 blocked thread and wait thread
14.3.4 terminated thread
14.4 Thread Properties
14.4.1-Thread Priority
14.4.2 Daemon Thread
14.4.3 exception handler not captured
14.5 Sync
An example of 14.5.1 competitive conditions
14.5.2 Competitive Conditions detailed
14.5.3 Lock Object
14.5.4 Criteria Object
14.5.5 synchronized keyword
14.5.6 Synchronous blocking
14.5.7 Monitor Concept
14.5.8 volatile Domain
14.5.9 final Variable
14.5.10 Atomic Sex
14.5.11 dead Lock
14.5.12 Thread local variable
14.5.13 Lock Test and timeout
14.5.14 Read/write lock
Why 14.5.15 quit the stop and suspend method
14.6 blocking queues
14.7 Thread-Safe collections
14.7.1 Efficient mapping tables, collections, and queues
Copy of 14.7.2 write array
14.7.3 earlier thread-safe collections
14.8 Callable and future
14.9 Actuators
14.9.1 thread Pool
14.9.2 Scheduled execution
14.9.3 Control Task Group
14.9.4 Fork-join Framework
14.10 Synchronizer
14.10.1 Signal Volume
14.10.2 Countdown Door Bolt
14.10.3 Barrier Fence
14.10.4 Exchange Device
14.10.5 synchronization queues
14.11 Threads and Swing
14.11.1 Run a time-consuming task
14.11.2 Using swing worker threads
14.11.3 Single Thread rule
Appendix Java Keywords








Download address: Network disk download


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.