The Artima Developer Community
Sponsored Link

Java Answers Forum
Help please! coding problem

2 replies on 1 page. Most recent reply: Aug 23, 2003 7:51 AM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Susan lewis

Posts: 2
Nickname: susanna35
Registered: Aug, 2003

Help please! coding problem Posted: Aug 14, 2003 7:16 PM
Reply to this message Reply
Advertisement
I have created a method which i am trying to call in my main program with this line
final String tAnsweradd = Gettheiranswer (student);
but when i try to compile my program i get this error

Studentclient.java:77: cannot resolve symbol
symbol : variable student
location: class Studentclient
final String tAnsweradd = Gettheiranswer (student);
Does this mean i will have to use files etc!?
Cos i was hoping not to use files


asit

Posts: 1
Nickname: sharma
Registered: Aug, 2003

Re: Help please! coding problem Posted: Aug 23, 2003 2:24 AM
Reply to this message Reply
send ur code i can help u

Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Help please! coding problem Posted: Aug 23, 2003 7:51 AM
Reply to this message Reply
The error means that you have not declared or defined what kind of object or variable "student" is.
You must be using a variable called student in the line:
final String tAnsweradd = Gettheiranswer (student);
which is line 77 in the source code file Studentclient.java

It looks like you should find the method Gettheiranswer
and see what kind of argument it requires. That is what student should be declared to be in a line above line 77.

Flat View: This topic has 2 replies on 1 page
Topic: Creating variables on the stack Previous Topic   Next Topic Topic: trying to submit form on another site from my JSP

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use