hi!...this my code,,,and i knew there"s something wrong with it,,,or maybe something is lacking..would you mind to help me?...i need a very quick response..thanks....Godbless you...
import java.io.*;
public class Samplefile {
public static void main(String args[])
{
File fob1 = new File("dede.txt");
RandomAccessFile rob1 = new RandomAccessFile("Hector.txt","rw");
if exists("dede.txt")
{
System.out.print("meon");
}
}
}