Search:

Type: Posts; User: Java girl

Page 1 of 4 1 2 3 4

Search: Search took 0.27 seconds.

  1. Replies
    1
    Views
    122

    Declaring linked lists

    Hi if i have a linked list name Card class and I want to link the card class to the Deck class. I want to declare a deck linked list in the deck class (which should be linked to the card class)
    Is...
  2. Replies
    6
    Views
    112

    Re: Run time error

    I tried it with the command prompt and it cannot find the specified path.
  3. Replies
    6
    Views
    112

    Re: Run time error

    Yes, i do have a child class. Nothing seems to run due to the error
  4. Replies
    6
    Views
    112

    Run time error

    Hi, I am having problems running my code.
    I tried eclipse to run my java codes and got the error:
    The selection cannot be launched, and there are no recent launches

    Then i tried jCreator and got...
  5. Replies
    4
    Views
    232

    Re: help needed asap please.

    ok thanks
  6. Replies
    4
    Views
    232

    Re: help needed asap please.

    thank you
  7. Replies
    4
    Views
    232

    help needed asap please.

    hey, need to convert infix To Postfix but have a few errors.



    error msg:
    PostFix:
    Exception in thread "main" java.util.EmptyStackException
    at java.util.Stack.peek(Unknown Source)
    at...
  8. Replies
    12
    Views
    186

    Re: Valid ticket id

    Thanks everyone.
  9. Replies
    12
    Views
    186

    Valid Ticket

    Hi, a valid ticket is one in which has a total of 6 characters. The first 3 characters are letters and the last 3 are numbers/digits.
    The program must determine whether or not a ticket is valid.

    ...
  10. Replies
    0
    Views
    63

    [SOLVED] 1

    1
  11. Re: Delimiter function and number of words in string

    Thanks for the guidance.
    Here is the modified code:



    import java.util.*;

    public class NumberOfWordsInString {
    public static void main (String[] args){
    Scanner in= new Scanner...
  12. Delimiter function and number of words in string

    Up, working on my java skills. :D
    The isDelimiter function is suppose to return true if there is a delimiter in the string and false otherwise. The main is suppose to call this function and count...
  13. Replies
    2
    Views
    80

    [SOLVED] Re: String reverse

    Thanks a lot, I changed i>0 to i>=0 and it worked! :D
  14. Replies
    2
    Views
    80

    [SOLVED] String reverse

    Hi am trying to reverse a string

    Here is my code:


    import java.util.*;

    public class ReverseLettersInString {
    public static void main (String[] args){
    Scanner in = new Scanner...
  15. Replies
    3
    Views
    110

    [SOLVED] Re: Arrays nightmare

    Hey guys, I eventually got it to work, thanks tho :)
  16. Replies
    3
    Views
    117

    Re: Alternative method solutions

    Am not sure that's why I posted
  17. Replies
    3
    Views
    110

    [SOLVED] Arrays nightmare

    Hi, I just don't seem to grasp arrays at all! So am continuing my practice in java.

    QUESTION:
    It's a radio poll on the most listened to radio station.
    I have to read the UNKNOWN number of...
  18. Replies
    4
    Views
    130

    Re: a simple question for suggestions

    I only do soley java programs in my course and I use the assigned text to that, seem like you are doing gui which we haven't started yet. You can probably refer to your textbook or youtube tutorials...
  19. Replies
    4
    Views
    130

    Re: a simple question for suggestions

    Am not an expert in the forum but I interpret it means having a main program as well as other methods which can be called within the main, thereby linking the entire program.
  20. Replies
    3
    Views
    117

    Alternative method solutions

    Still practicing java questions for improvement :D
    I completed 2 solutions to a question, please tell me which one is more accurate:

    This is what the question is based on:
    land line to land...
  21. Replies
    11
    Views
    129

    Re: Files and arrays

    yup, everytime I adjust something, another problem arises. Nevermind :)
  22. Replies
    11
    Views
    129

    Re: Files and arrays

    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    Duplicate local variable i

    at pastpapers.PatientExercise.main(PatientExercise.java:25)
    line 25:the for loop line
  23. Replies
    11
    Views
    129

    Re: Files and arrays

    import java.util.*;
    import java.io.*;

    public class PatientExercise {
    //patients exercise time
    public static void main (String[]args) throws IOException{
    Scanner in = new Scanner(new...
  24. Replies
    11
    Views
    129

    Re: Files and arrays

    still not getting it to wrk :/ i ended up placing the for loop in the while and it created more problems.
  25. Replies
    11
    Views
    129

    Re: Files and arrays

    Hi, i incremented the i by replacing the:
    patientTimeRecords[i]= in.nextDouble();
    TO
    patientTimeRecords[i]++;

    But, my output screen is blank
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4