This is an example of Constant Specific Class Body ,how do i execute this and see the resultant output.
Appreciated if you could help me.
Courtesy:SCJP Exam 310-065,Page No:65.
HTH
Deepak Lal
Roel De Nijs wrote:Or you could write a little program that iterates over each value of your enum printing the name and the lid code of each constant.
Deepak Lal wrote:i do not know how to proceed.in case you can post the working example it will ne helpful and appreciated.