Win a copy of Head First Android this week in the Android forum!

Jfriend lavanya

Greenhorn
+ Follow
since Mar 23, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jfriend lavanya

hi
let us know the problem first.
16 years ago
JSP
hi
always the expression near case expect constant value.
but no problem for using final variables.

i worked out a program similar that of yours.
its working fine.

try to print the value of the final variables after commenting switch
and check their values
16 years ago