墨尔本大学java课程课件chap6
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Some Methods Included with Every Enumerated Type (Part 3 of 3) 6-* Copyright ? 2010 Pearson Addison-Wesley. All rights reserved. The values Method To get the full potential from an enumerated type, it is often necessary to cycle through all the values of the type Every enumerated type is automatically provided with the static method values() which provides this ability It returns an array whose elements are the values of the enumerated type given in the order in which the elements are listed in the defi
原创力文档

文档评论(0)