Part ONE
In this tutorial I will show you how to read and wrtie data to a file and how to handle the exceptions of our data type value being to large and our file not being found.
Enjoy the video, if you would like to request a tutorial or have any questions please contact me via the youtube messaging services.
DOWNLOAD the files from this tutorial here
http://www.box.net/shared/c1avyc8a5q
hi
Anurag050797 3 weeks ago
how did you do that when you entered the try catch what plugin you useing for notepad++?
staindinice 6 months ago
looking for txt writting information...
mommyjsj 7 months ago in playlist Java Tutorial 4
how the hell did this get 8600 vewis? your video fucking sucked man, not helpfull atall!
02bucs44 11 months ago
so the Integer.parseInt(line) ist for Numbers -> what about if I want Strings?
BtStrange 1 year ago
this java io not found comes when i try open cmd
dylmason2k7 1 year ago
@pzmtuthcvpvl I find that the BufferedReader/Write are the simplest to use and easiest to remember. Instead of read(), it's readLine() and you store it into a string variable and compare it to null in some sort of while loop.
12eebok 1 year ago
@JFrameMan Honestly, I can't say for certain as I'm only a student and we haven't really gotten into distribution just yet. There are some situations where you wouldn't want to use a wild card though, i.e., two classes with identical names but in different packages. I guess it all depends on the situation.
12eebok 1 year ago
@12eebok ohh i see, thx, i didnt know a lot of that :P lol but when u compile the whole program for distribution as an exe, does it make a difference, since it's not going to be pointing to it, and will running the executable independently?
JFrameMan 1 year ago
@JFrameMan Nope. Import statements are simply pointers that tell your application where to look. It's actually a better idea to use import java.io.*; because if you import something explicitly you might accidentally define a class with a conflicting name already used in the library, and you wouldn't have to worry about it if you use the wild card.
12eebok 1 year ago