Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

FileReader

807569May 15 2006 — edited May 15 2006
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

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 12 2006
Added on May 15 2006
2 comments
155 views