Hi,
how do you declare enums in java?
i tried doing:
private enum Box = {Big, Medium, Small};
i'm getting a compile time error here, i'm using jdk1.4.2_07 with eclipse3.0.1...
please advice...
thanks!
|
+ Reply to Thread
Results 1 to 3 of 3
Thread: declaring enums in java
Similar Threads
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S. Wed Yourself to UML with the Power of Associations Microsoft to Add AJAX Capabilities to ASP.NET IBM's Cloudscape Versus MySQL | ||||||||||||||||||||||||||||||||||
![]() | |||||
|
| |||||
![]() |
Bookmarks