1. effective java overview
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了1. effective java overview相关的知识,希望对你有一定的参考价值。
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
以上是关于1. effective java overview的主要内容,如果未能解决你的问题,请参考以下文章