Search:

Type: Posts; User: 13hartc

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    938

    [SOLVED] Re: How to put all char in loop to string?

    I don't understand what you are saying.
  2. Replies
    3
    Views
    938

    [SOLVED] How to put all char in loop to string?

    I can't figure out how to have all of the random characters generated to go into the String. Below I can only get the last character to covert over to a String.

    Thanks in advance!


    ...
  3. Replies
    4
    Views
    1,392

    [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...
  4. Replies
    4
    Views
    1,392

    [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.*;
  5. Replies
    4
    Views
    1,392

    [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...
  6. Replies
    1
    Views
    5,841

    MyPorgramingLab Help

    Below is the requirements and code. I am getting the error CODELAB ANALYSIS: LOGICAL ERROR(S)


    We think you might want to consider using: >
    Hints:
    • Correct solutions that use equals almost...
  7. Thread: Method Help

    by 13hartc
    Replies
    10
    Views
    1,201

    Re: Method Help

    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: main.positiveTriangle
    at main.main(main.java:29)
    Java Result: 1
  8. Thread: Method Help

    by 13hartc
    Replies
    10
    Views
    1,201

    Re: Method Help

    method negativeTriangle in class method cannot be applied to given types;
    required: String, int, int
    found: no arguments
    reason: actual and formal arguments list differ in length




    method...
  9. Thread: Method Help

    by 13hartc
    Replies
    10
    Views
    1,201

    Re: Method Help

    I am trying to create methods for each of my assigned task. The first there work without any problems since they don't pull Strings or ints. When I try to pull positiveTriangle or negativeTriangle...
  10. Thread: Method Help

    by 13hartc
    Replies
    10
    Views
    1,201

    Re: Method Help

    I am trying to create methods for each of my assigned task. The first there work without any problems since they don't pull Strings or ints. When I try to pull positiveTriangle or negativeTriangle...
  11. Thread: Method Help

    by 13hartc
    Replies
    10
    Views
    1,201

    Method Help

    I am trying to create methods for each of my assigned task. The first there work without any problems since they don't pull Strings or ints. When I try to pull positiveTriangle or negativeTriangle...
Results 1 to 11 of 11