标签:
ref: from book "effective java"
This book is designed to help you be familiar with fundamental libs like java.lang, java.util. and to a lesser extent, java.util.concurrent
and java.io. The book discusses other lib from time to time, but it does not cover graphical user interface programming, enterprise APIs, or mobile devices
This book consist of 78 items, each of which conveys one rule. The items are loosely grouped into 10 chapters, each concerning one broad aspect of software design.
The language supports 4 kinds of types:
interface (including annotations)
classes (including enums)
arrays
primitives
The first 3 are known as reference tyes.
Class instances and arrays are objects. primitive values are not
A class‘s members consist of its field, methods, member classes, and member interfaces
A method‘s signature consist of its name and the types of its formal parameters, the signature does not contain the return type
Classes, interfaces, constructors, members and serialized forms are collectively known as API elements.
An exported API consist of the API elements that are accessible outside of the package and defines the API
标签:
原文地址:http://www.cnblogs.com/morningdew/p/5645122.html