Search:

Type: Posts; User: kl2eativ

Page 1 of 2 1 2

Search: Search took 0.28 seconds.

  1. Re: I cannot get the right output in the right place. Where is my problem?

    This?


    package assignment2;

    import javax.swing.JOptionPane;

    public class Main {

    public static void main(String arg[]) {
  2. I cannot get the right output in the right place. Where is my problem?

    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
  3. Re: I need to create a class that coordinates all the others and don't know what it m

    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...
  4. Re: I need to create a class that coordinates all the others and don't know what it m

    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
    -...
  5. Re: I need to create a class that coordinates all the others and don't know what it m

    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...
  6. Re: I need to create a class that coordinates all the others and don't know what it m

    Good idea, but can you give me an idea of what getData is suppose to do so i can define it?
  7. Re: I need to create a class that coordinates all the others and don't know what it m

    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...
  8. Re: I need to create a class that coordinates all the others and don't know what it m

    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...
  9. I need to create a class that coordinates all the others and don't know what it means

    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...
  10. What String methods should I use for this?

    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...
  11. Re: Problems with incrementing/decrementing in a for loop..

    yeah i get what you are saying with the values.
  12. Re: Problems with incrementing/decrementing in a for loop..

    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??
  13. Re: Problems with incrementing/decrementing in a for loop..

    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...
  14. Re: Problems with incrementing/decrementing in a for loop..

    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...
  15. Re: Problems with incrementing/decrementing in a for loop..

    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...
  16. Re: Problems with incrementing/decrementing in a for loop..

    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?
  17. Re: Problems with incrementing/decrementing in a for loop..

    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...
  18. Problems with incrementing/decrementing in a for loop..

    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 ]...
  19. Replies
    4
    Views
    974

    Re: Looping through an Array.

    Where can I find the complete list of the String methods?
  20. Replies
    4
    Views
    974

    Looping through an Array.

    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"...
  21. Re: I cannot get to print out all my information.

    I thought about that but I have to use an array :(
  22. Re: I cannot get to print out all my information.

    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...
  23. I cannot get to print out all my information.

    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...
  24. Replies
    9
    Views
    897

    Re: I cannot get boolean to work properly

    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?
  25. Replies
    9
    Views
    897

    Re: I cannot get boolean to work properly

    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??
Results 1 to 25 of 28
Page 1 of 2 1 2