I have worked most of it out. But for some reason the string is converted into an array, but it is not held and printed. I don't know what's going on now.
import java.util.Arrays;
import...
Type: Posts; User: metaleddie13
I have worked most of it out. But for some reason the string is converted into an array, but it is not held and printed. I don't know what's going on now.
import java.util.Arrays;
import...
I used the debugger and for some reason it is not passing the array. I cannot figure out the code for going through the array, using the boolean method isCharacterPresent, and store no repeat...
I am attempting to design and implement a program with a Java class that will ask the user to input a non-null string. First, I should convertthis string to lower case (for simplicity) and store...
True, it was a joke anyway. Thanks.
What's the dilly, I thought everyone here was suppose to know all about Java. I figured at least one person would have posted by now.
I have to write the methods for a program and the first one, a boolean method called openAccount, takes first name, last name and opening amount [positive or negative] as a starting amount. This...
import javax.swing.*;
public class Program4
{
// Class Variables.
public static String firstName = "";
public static String lastName = "";
public static double dollars = 0.0;
public static...
Sorry, like I said I'm new and dumb. I can't get the program passed the openAccount method. It hangs up and will not return the two strings and double. I have messed with it for days.
Okay, so basically I am an idiot and this is my first programming class. I am completely stuck on this program and I have been staring and messing with it for 4 days and cannot get it too work. For...
I wrote a program that asks the user for a number and displays the original number, the sum of the digits and the product of the digits. I need to add an ERROR message if the number entered is not...