I don't understand what you are saying.
Type: Posts; User: 13hartc
I don't understand what you are saying.
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!
...
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...
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.*;
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...
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...
Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: main.positiveTriangle
at main.main(main.java:29)
Java Result: 1
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...
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...
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...
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...