This?
package assignment2;
import javax.swing.JOptionPane;
public class Main {
public static void main(String arg[]) {
Type: Posts; User: kl2eativ
This?
package assignment2;
import javax.swing.JOptionPane;
public class Main {
public static void main(String arg[]) {
this is the outpu that i am getting:
Transpose
The encrypted message is
wkh txlfn eurzq ira
The decrypted message is
the quick brown fox
The encrypted Transpose message is
this is what it says for the test class:
Provide a test class that "coordinates the activities of the classes outlined above by:
- Creating a student and adding it to the database
- Remove a...
Yes the last part of the Assignment is to create another class called test that "coordinates the activities of the classes outlined above by:
- Creating a student and adding it to the database
-...
What is this trying to do ??
getData.getWord("Enter name");
getData.getWord("Enter middle name");
.getWord does this even exists?
I need to define getData in the main class and I can do it...
Good idea, but can you give me an idea of what getData is suppose to do so i can define it?
I need a menu that each option performs a task. I think that menu is already written in the main class?? I don't know why the Professir had that getData there because like you said it is not define...
i need help with my last class that performs the following :
- Remove a student
- Change a student last name
- Display all students added
- Display students removed
Then I guess from the main...
Hello I have an assignment, and I need to create this class that i guess puts everything together. Everything that I have done it was writting by the professor,i guess I just need an extra class to...
I have loaded a file into a String, now I need to determine how many letter 'a' there are in the file and print the amount, etc. How can I accomplish this? I need a for loop to scan through but not...
yeah i get what you are saying with the values.
I am using the substring for the name which starts at 0 and subtracts on at the end from each line , not for the length of each line on the left, which I want scounter to do that correct??
I am trying to get scounter = String.length then substract scounter 1 (scounter --) each time??
public static void DisplayName(String MyNameDisplay[]) //Method for displaying my name with one...
I posted the instruction in my previous post. Yes I understand them. I need to print out my name eliminating the last character on each line until it reaches to the first one and printing out the...
Using a for loop, display to the screen, the string containing your name so that each loop will NOT contain the last character on the previous line, with the length of the string being printed, and...
I was trying to mess with the loops and see.It goes down from 32 to 31 and so on. I need a loop that goes from String.length to 0 I guess?
Thank you guys for all the input. Actually this is my second program in Java, the professor never mentioned anything about pencil and paper. For just being my second program I think I did pretty good...
Hello. I cant figure this out. This is what i am getting.
Displaying my name substracting one character.
1[ Hector & Jorge % Farinas ]
1[ ector & Jorge % Farinas ]
1[ ctor & Jorge % Farinas ]...
Where can I find the complete list of the String methods?
Hello, i need some help. I need to loop through an array to determine if there are vowels, consonants, a space etc. and then print for example. "character [x] located at position [x] is a consonant"...
I thought about that but I have to use an array :(
Sorry if I did not make myself clear, When I ask for how many stores does the user wants to enter info for, Lets say he puts in 3, after the info for all 3 have been inputted, i want to print the...
I have written this code but i am having trouble printing out all the information at the end. Should I use ToString? Any help would be appreciated.
package drycleaner;
import...
Awesome.. I wish my teacher would explain like this, since this is an intro class!! Anyways, every time toString is used, i will have to do this same procedure?
So this calls the toString?
Plant plant = new Plant(h,cn,sn,p,f);
System.out.println(plant); //print out object - object calls toString()
and why Plant plant was use twice??