Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (21)

Sign In or Sign Up now to post a comment!
  • hi

    

  • how did you do that when you entered the try catch what plugin you useing for notepad++?

  • looking for txt writting information...

  • how the hell did this get 8600 vewis? your video fucking sucked man, not helpfull atall!

  • Comment removed

  • so the Integer.parseInt(line) ist for Numbers -> what about if I want Strings?

  • this java io not found comes when i try open cmd

  • @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.

  • 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?

  • why not just use import java.io.*; to load everything at once? :)

  • @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 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.

  • yes please...you explain very well.

  • 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.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more