Search:

Type: Posts; User: 13hartc

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    1,396

    [SOLVED] Re: Passing Strings in methods

    Here is the requirement for the lab :

    Each there needs to be a method for
    - obtaining the file name from the keyboard
    - obtaining the mask
    - writing a string to a file
    - reading a string...
  2. Replies
    4
    Views
    1,396

    [SOLVED] Re: Calling method error

    How do I satisfy the string requirements need for stringToFile(); and readingStringFromFile();?

    I can't figure out how to pass it through.





    import java.io.*;
    import java.util.*;
  3. Replies
    4
    Views
    1,396

    [SOLVED] Passing Strings in methods

    I am trying to call stringToFile in the main method but it throws error saying "incompatible types scanner cannot be converted to string."

    Thanks in advance!




    public static void...
Results 1 to 3 of 3