Forum Stats

  • 3,837,173 Users
  • 2,262,234 Discussions
  • 7,900,217 Comments

Discussions

FileReader

807569
807569 Member Posts: 34,691
edited May 15, 2006 8:30AM in Java Programming
I am trying to create a FileReader class to read values in from a text file called TestData.txt.

My class wont compile and says ')' expected this is my class below can anyone help me with this error.

public class FileReader
{

public FileReader()
{
FileReader(File TestData.txt)
throws FileNotFoundException
}
}


thanks

Comments

This discussion has been closed.