Day11 Detail Memory

Source: Internet
Author: User

Single duty: One way to do only a thing.

Value passing--java only values are passed.

Gender (gender) male (male) female (female)

In the auto-generated set, get method, the Get method of the Boolean type needs to be changed manually to get (by default, is).

This:1, this. (method or property) This now refers to the current object.

2. This is the other constructor method that calls this class, as is the super usage.

After jdk1.5, the array as a parameter, you can write [] as ...

1. The traditional way [], the caller can only pass in the array object.

2. After jdk1.5 ..., the caller can either pass an array object or pass any number of elements.

The three major drawbacks of the array: 1, fixed length. 2. Only the same data type can exist. 3, continuous memory address space storage.

The dimension of Understanding the world:

One-dimensional-line

Two-dimensional-surface

Three-dimensional--body

Four Dimensions-time

Five-dimensional acceleration

Learning! Self - reliance!

Day11 Detail Memory

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.