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"
Type: Posts; User: amr
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"
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.
...
also, I have a proble with the following code
first file:
import java.io.*;
public class OnlyExt implements FilenameFilter
{
String ext;
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) ...