<effective java> Introduction

Source: Internet
Author: User

Java language Specification <the java Language specification>

1. The Java language supports four types: interfaces, classes, arrays, and basic types.

The first three types are often referred to as reference types, and class instances and arrays are objects. The value of the base type is not an object.

2. Members of a class have its domain, method, member class, and member interface.

3. The signature of a method consists of its name and all parameter classes; The signature does not include its return type.

4, the API refers to the class, interface, constructor, member and serial number form, the programmer can access the class, interface or package through them. Programmers who use the API to write programs are called users of the API, and in the class's line of sight are the classes used to API the clients that are called APIs.

5. The exported API for a package is comprised of all public or protected members and constructors in each public class or interface in the package.

<effective java> Introduction

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.