Thread: Project Help!
View Single Post
Old Feb 17th, 2005, 1:06 PM   #3
terarenee2003
Newbie
 
Join Date: Feb 2005
Posts: 6
Rep Power: 0 terarenee2003 is on a distinguished road
Post Is this anywhere on the right line??

// The "Voter" class.
public class Voter
{
String VoterNumber // Voter Number

String VoterAge // Voter Age

String VoterType // Voter Type

public void GetAVoter() throws IOException
{
BufferedReader inData; //Input stream for strings

inData = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter voter number: ");
VoterNumber = inData.readline();
System.out.println("Enter voter age: ");
VoterAge = inData.readline();
System.out.println("Enter voter type: ");

}

public static void main (String[] args)
{
GetAVoter
read = new Voter();
read.VoterNumber();
read.VoterAge();
read.VoterType();
{
// Place your code here
} // main method
} // Voter class


I am so lost!
terarenee2003 is offline   Reply With Quote