Yes, you are right the File class will open the file. Got it. Thanks for the insight. I think I got it now.
thanks again
Type: Posts; User: vanconde
Yes, you are right the File class will open the file. Got it. Thanks for the insight. I think I got it now.
thanks again
Ok,
So I want to create a method to read data from a file. I also want to print data to a separate file. So, can I create one method to do both tasks using the File class and the PrintWriter class?...
If I am using the File object to read a file and PrintWriter object to write to a separate file, can I use them under one method. Or is the File one method and the PrintWriter another method?
Ok, I figured it out with some of your comments. Thanks to all for your input.
Here is my final version. I am posting just for FYI. You can comment more if you feel like. Any help on improving my...
I understand items 2 and 3, but I don't understand what you mean by "no returns are required". How do the methods get passed to the main program when called without a return?
So,
Yes that may be part of my problem, the return. However in the first two methods, that return gives me the result I am looking for. So, this may be where I am going wrong. This is why I need...
This is my first post. I have been working on this class for a couple of weeks now, and can't seem to get it working right. Here are the parameters:
* Write a class named FileDisplay with the...
Hello everyone,
My name is Edward and I am very interested in learning Java. How it all started: Well, many moons ago I attended community college to get into programming. I went for one semester...