Search:

Type: Posts; User: amr

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    1,893

    Re: problem with File Stream

    thanx
    but can u tell me
    1-why we must use try and catch when dealing with files??
    2-how to create a directory "see the first post"
  2. Replies
    6
    Views
    1,893

    Re: problem with File Stream

    in the following code i try to display the contents of a txt file using FileInputStream, and the output is
    ?
    ?
    892745528
    14
    which is absolutely different from the contents of the txt file.

    ...
  3. Replies
    6
    Views
    1,893

    Re: problem with File Stream

    also, I have a proble with the following code
    first file:



    import java.io.*;

    public class OnlyExt implements FilenameFilter
    {
    String ext;
  4. Replies
    6
    Views
    1,893

    problem with File Stream

    Hello,
    Please tell me what is the problem with my code:in the following code i try to create a directory.


    import java.io.*;

    public class MkDir
    {
    public static void main (String[] args) ...
Results 1 to 4 of 4