Sree Yemparala

Greenhorn
+ Follow
since Jul 10, 2003
Merit badge: grant badges
For More
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 Sree Yemparala

Thanks Damien.
Good Luck
sj
I have been working in Java/J2EE since 1 year. I regularly visit the java related websites. And JavaRanch.com is my first choice though
I am planning to take the SCJP 1.4 exam in another 2 months. Can anyone suggest me one good Certification book? And also any suggestions for free online mockup exams?
Thanks
SY

Well, Ignore my previous reply then..
Bye..SJ
20 years ago
Is it possible for you to post your code from the beginning to line 153.
Thanks,
sj
20 years ago
Try the following:
Integer cnt = new Integer(1);
cnt = Integer.valueOf( session.getAttribute("count"));
I hope this helps
Good Luck,
SJ
20 years ago
declare and intialize the tries variable outside the if condition like
int tries =0;
and inside the if condition
replace the line
int tries = Integer.parseInt(JOptionPane.showInputDialog( "How many times would you like to play the
with
tries = Integer.parseInt(JOptionPane.showInputDialog( "How many times would you like to play the
This will surely solve the cannot resolve symbol problem.
I hope this helps.
Good Luck
sj
20 years ago