Added: 1 year ago
From: TheYoosuf
Views: 6,437
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (6)

Sign In or Sign Up now to post a comment!
  • two questions;

    1.Why are you showing us this on a regular notepad? You have netbeans I saw.

    2.I don't understand the argument of FileInputStream when I try to do something similar to this I get an error saying incompatible types 'String found' while I need an argument? .. I don't really understand what I'm doing wrong can you explain this maybe?

  • @Mugenai For question 1 the reason I used Notepad was because its always bettr 2 learn programming as in netbeans it gives possible methods and so on in the drop down menu... Also I felt this was better as I am dealing with the notepad file connection as well.

    As for question 2, the arguments are clearly explained in the video as well as the code. Since u asked it is the NAME of the .TXT file. (Also the reason i put . is to mean current directory, othrwise you need to give the full path).

  • @TheYoosuf I cannot exactly tell you what sort of problem you may be having but jus 2 folow up on the prev comment (max chracter limit!) wen passing the argument remmbr 2 give EITHER full path as in ("C:\MyFiles\Name.txt") OR (".\\Name.txt") Remember 2 use the second method ONLY IF ur java file is in the same location. If it still doesnt work check whethr u have correctly pased parameters for datainputstream and NufferedReader as well. Send me a code sample if u need any furthr clarificaitons

  • The music helped too...lol...made me relax and concentrate!

  • @RawkStarAngel Thnx it iz Ahmed Bukhatir Remember Them song

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