반응형
Questions and Exercises: Enum Types
Questions
- True or false: an Enum type can be a subclass of java.lang.String.
Exercises
Rewrite the class
Card
from the exercise in Questions and Exercises: Classes so that it represents the rank and suit of a card with enum types.Rewrite the
Deck
class.
반응형
'Java 배우기' 카테고리의 다른 글
Annotations Basics (0) | 2016.01.05 |
---|---|
Lesson: Annotations (0) | 2016.01.05 |
Enum Types 이넘 타입 (0) | 2016.01.05 |
Questions and Exercises: Nested Classes (0) | 2016.01.05 |
When to Use Nested Classes, Local Classes, Anonymous Classes, and Lambda Expressions (0) | 2016.01.05 |
댓글