| | |
File processing, Random-access Files
![]() |
•
•
Join Date: Mar 2008
Posts: 3
Reputation:
Solved Threads: 0
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");
}
}
}
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");
}
}
}
And what exactly is your question? All I see is a few unrelated actions.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Similar Threads
- file or database processing in javascript (JavaScript / DHTML / AJAX)
- file processing, Random-access Files (C++)
- Highjack file Ie wont download (Viruses, Spyware and other Nasties)
- Help!..."File Processing" *questions inside* (C++)
- How do you make C++ programs on different computers TALK to eachother? (C++)
Other Threads in the Java Forum
- Previous Thread: frnds!!!!
- Next Thread: Displaying Image and Text in Java 2D
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card chat class classes client code collision columns component constructor crashcourse database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer html ide image inetaddress integer intellij j2me java javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle physics plazmic print problem program programming project recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree trolltech unlimited utility webservices windows






