Search:

Type: Posts; User: darkr166

Search: Search took 0.10 seconds.

  1. Re: Code to open up a txt file and display only first five lines?

    Ok i finally got it. Thanks!
  2. Re: Code to open up a txt file and display only first five lines?

    Ok i got closer with this with the help of google.



    import java.io.*;

    public class ReadTextFileExample {
    public static void main(String[] args) {
    File file = new...
  3. Re: Code to open up a txt file and display only first five lines?

    Thanks for the reply. Ive looked over the tutorials, while i see how some of them may help me put together the problem, im still confused on putting them where and how.


    import java.io.*;
    public...
  4. Code to open up a txt file and display only first five lines?

    Im trying to write a java code for a homework problem in my intro java class but im having problems, frankly cause i dont know alot of loops and my text book doesnt help.

    This is the problem:

    ...
Results 1 to 4 of 4