Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #20235

Need help,homework

From theunknowable@lavabit.com
Newsgroups comp.lang.java.programmer
Subject Need help,homework
Date 2012-12-11 00:21 +0000
Organization A noiseless patient Spider
Message-ID <ka5ua2$2k8$1@dont-email.me> (permalink)

Show all headers | View raw


Nooblet here, I need to write this application, I got as far as making 6 
empty classes and originally needed to use swing, though since I need to 
learn swing I may just make it a console application and get less points 
for it. I need to be able of writing to disk the data (utilizing user 
input), deleting it when I want too and show I understand how classes 
work. While I understand extends, I don't quite understand what implement 
does.

Extends allows you to use the methods and variables of the class you 
extended (inheritance). Implement seems similar?

Anyways, since I only have 1 day to do this and I've been trying to do 
this for weeks, what are the classes available that will allow me to:

1.) Write a plain text file to disk?
2.) read the file?
3.) delete the file?
4.) check for the existence of the file?
5.) search for the file?
6.) compare files?

Where can I learn more about these specific classes? Any example code that 
is small and simple to read? :(

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Need help,homework theunknowable@lavabit.com - 2012-12-11 00:21 +0000
  Re: Need help,homework Lew <lewbloch@gmail.com> - 2012-12-10 17:05 -0800
  Re: Need help,homework Roedy Green <see_website@mindprod.com.invalid> - 2012-12-11 18:37 -0800
    Re: Need help,homework Lew <lewbloch@gmail.com> - 2012-12-11 19:30 -0800
    Re: Need help,homework Arne Vajhøj <arne@vajhoej.dk> - 2012-12-12 20:42 -0500
      Re: Need help,homework Robert Klemme <shortcutter@googlemail.com> - 2012-12-14 08:03 +0100
        Re: Need help,homework Arne Vajhøj <arne@vajhoej.dk> - 2012-12-14 20:59 -0500

csiph-web