This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes where is method :) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "where is method :)" Watch "where is method :)" New topic
Author

where is method :)

Dan Polak
Ranch Hand

Joined: Nov 06, 2006
Posts: 32
Maybe someone know where is definition of static method values() whitch is available for every enums instance ?

enum A {

}

A[] a = A.values();


<a href="http://www.dantheman.pl" target="_blank" rel="nofollow">http://www.dantheman.pl</a>
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
It's in the language specification: JLS 8.9.


"I'm not back." - Bill Harding, Twister
Franz Fountain
Ranch Hand

Joined: Nov 15, 2006
Posts: 58
You can also take a look at this article on the Sun website regarding Enums:

http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where is method :)
 
Similar Threads
refresh canvas, designer problem?
Problem with my servlet Advice?
Thread Question from Sun's Free Mock Test
setting values in array
Widening and Boxing