@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.
@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 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 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.
Nice vid, but it's hard to follow with text popping out everywhere...try typing it as you make the vid, like aphonik, so the viewer can type along and learn it better.
hi
Anurag050797 2 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
Comment removed
Ksquaredgaming 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
File IO is such a pain in the ass, I'm looking for a tutorial on copying files using byte inputs and outputs, does anybody know of any?
12eebok 1 year ago
why not just use import java.io.*; to load everything at once? :)
pure5abi 1 year ago
@pure5abi i believe it uses up more resources when u import all at once, so it's a good habit to import only wat u need
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
@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 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
yes please...you explain very well.
dhuhahussam 2 years ago
Nice vid, but it's hard to follow with text popping out everywhere...try typing it as you make the vid, like aphonik, so the viewer can type along and learn it better.
MrProgrampro 2 years ago