Java Programming Ideas-Directory

Source: Internet
Author: User
Tags arithmetic operators bitwise operators logical operators

Chapter 1th Introduction to Objects

1.1 Abstract Process

1.2 Each object has an interface

1.3 Service for each object

1.4 Concrete implementations that are hidden

1.5 Multiplexing specific implementations

1.6 Inheritance

1.6.1 "is a" and "like is a" relationship

1.7 Interchangeable objects associated with polymorphism

1.8 Single-Root integrated structure

1.9 Containers

1.9.1 Parameterized types

1.10 Creation and life cycle of objects

1.12 Concurrent Programming

1.13 Java and the Internet

What is 1.13.1 web?

1.13.2 Client Programming

1.13.3 Server-side programming

1.14 Summary

2nd Chapter Everything is the object

2.1 Manipulating objects with references

2.2 All objects must be created by you

Where is the 2.2.1 stored?

2.2.2 Exceptions: Basic types

2.2.3 Arrays in Java

2.3 Never need to destroy objects

2.3.1 Scope

Scope of the 2.3.2 object

2.4 Creating a data type: Class

2.4.1 fields and methods

2.5 methods, parameters, and return values

2.5.1 parameter list

2.6 Building a Java program

2.6.1 Name Visibility

2.6.2 running other builds

2.6.3 Static keyword

2.7 Your first Java program

2.7.1 Compiling and running

2.8 Notes and embedded documents

2.8.1 Notes Document

2.8.2 syntax

2.8.3 Embedded HTML

2.8.4 Some examples of tags

2.8.5 Document Example

2.9 Coding Style

2.10 Summary

2.11 Practice

3rd Chapter Operator

3.1 Simpler Print Statements

3.2 Using Java Operators

3.3 Priority level

3.4 Assigning values

3.4.1 The alias problem in a method call

3.5 Arithmetic operators

3.5.11 Yuan Plus and minus operators

3.6 Auto Increment and decrement

3.7 Relational operators

3.8 Logical operators

3.8.1 Short Circuit

3.9 Direct Constants

3.9.1 Exponential counting method

3.10 Bitwise Operators

3.11 Shift operator

3.12 Ternary operator If-else

3.13-character operator + and + =

3.14 mistakes often made using the operator

3.15 Type conversion operators

3.15.1 Truncation and rounding

3.15.2 Promotion

3.16 Java no sizeof

3.17 Operator Summary

3.18 Summary

The 4th chapter controls the execution process

4.1 True and False

4.2 If-else

4.3 iterations

4.3.1 do-while

4.3.2 for

4.3.3 comma operator

4.4 foreach Syntax

4.5 return

4.6 Break and continue

4.7 Infamous Goto

4.8 Switch

4.9 Summary

5th chapter Initialization and cleanup

5.1 Using constructors to ensure initialization

5.2 Method Overloading

5.2.1 Distinguishing Overloaded methods

5.2.2 involves basic types of overloads

5.2.3 to differentiate overloaded methods with return values

5.3 Default Constructors

5.4 This keyword

5.4.1 calling the constructor in the constructor

5.4.2 The meaning of static

5.5 Cleanup: End Processing and garbage collection

What is the purpose of 5.5.1 finalize ()

5.5.2, you have to clean up.

5.5.3 Termination conditions

How the 5.5.4 garbage collector works

5.6 Member Initialization

5.6.1 Specifying initialization

5.7 Constructor initialization

5.7.1 Sequence of initialization

5.7.2 initialization of static data

5.7.3 an explicit static initialization

5.7.4 non-static instance initialization

5.8 Array Initialization

5.8.1 Variable parameter list

5.9 Enum Types

5.10 Summary

The 6th Chapter access rights control

6.1 Package: library Unit

6.1.1 Code Rental

6.1.2 wearing a unique package name

6.1.3 Custom Tool Library

6.14 Changing behavior with Import

6.1.5 advice on the use of packages

6.2 Java access modifier words

6.2.1 Package access rights

6.2.1 Public: Interface access rights

6.2.2 Private: You cannot access

6.2.3 protected: Inheriting access rights

6.3 Interfaces and implementations

Access rights for Class 6.4

6.5 Summary

Java Programming Ideas-Directory

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.