Inheritable Java Enumeration
Date Issued
2009
Date
2009
Author(s)
Yang, Chi-Chia
Abstract
Java 1.5 adds many new features, including enumeration. It implements enumeration as class. It translates enumeration constants into class instances, so that an enumeration constant is not a pure number. Now, enumeration constant has variables and methods, and it is more powerful. However, inheritance between enumeration is not allowed in Java 1.5.This violates the kernel principle of object-oriented concept. In this thesis, we try to resolve this problem. Under the condition of not changing Java virtual machine, we try to make Java enumeration be inheritable.
Subjects
enumeration
inheritance
compiler
instance
Type
thesis
File(s)![Thumbnail Image]()
Loading...
Name
ntu-98-R96922019-1.pdf
Size
23.32 KB
Format
Adobe PDF
Checksum
(MD5):5ad86d87762e6513b4e5fed59c5e46aa
