Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.78 KB

File metadata and controls

17 lines (13 loc) · 1.78 KB

Chapter 6. Enums and Annotations(枚举和注解)

Chapter 6 Introduction(章节介绍)

JAVA supports two special-purpose families of reference types: a kind of class called an enum type, and a kind of interface called an annotation type. This chapter discusses best practices for using these type families.

JAVA 支持两种特殊用途的引用类型:一种称为枚举类型的类,以及一种称为注解类型的接口。本章将讨论这些类型在实际使用时的最佳方式。

Contents of the chapter(章节目录)