Search:

Type: Posts; User: Woody619

Search: Search took 0.11 seconds.

  1. Replies
    11
    Views
    3,106

    Re: Returning Null

    @helloworld922 -- Wouldn't that array just return a string letter as opposed to a number (which is what is needed) ? It is supposed to return the number of vowels/consonants in a string.
  2. Replies
    11
    Views
    3,106

    Re: Returning Null

    Thanks for that push from both of you! However, when I do give the array values, I get something like this "[C@13caecd" returned instead of the number of vowels or consonants! Any thoughts to where I...
  3. Replies
    11
    Views
    3,106

    Re: Returning Null

    @aussie - "Y" is treated as a consonant.

    @Norm - Are you asking if I initialized the return variables to any value? Or is that I need to assign a variable to my return variables? I'm sorry, I am...
  4. Replies
    11
    Views
    3,106

    Returning Null

    Hello once again! I need to make a program that will count the number of vowels and consonants in a string and have that number returned. The program runs, however, it always returns vowels or...
  5. Thread: Many Errors

    by Woody619
    Replies
    10
    Views
    4,293

    Re: Many Errors

    Sorry to bug you guys again. I need the patrol (ParkingTicket object) to return a value.

    I have fixed everything else you all have helped me with and this seems to be the one loose string. Below...
  6. Thread: Many Errors

    by Woody619
    Replies
    10
    Views
    4,293

    Re: Many Errors

    I also want to add that I was using a UML and maybe I was not reading it properly, but under certain classes it said "setters and getters omitted".

    I took that as being they omitted them from...
  7. Thread: Many Errors

    by Woody619
    Replies
    10
    Views
    4,293

    Re: Many Errors

    A great thanks to everyone! Thank you for taking time out to help a n00b!

    I apologize if I didn't seem to "get it", but I'm just a beginner and hoping to become proficient in this language, as...
  8. Thread: Many Errors

    by Woody619
    Replies
    10
    Views
    4,293

    Re: Many Errors

    PS- It seems I accidentally chopped off the top bit of my code. Maybe this can give you guys some more insight:


    package parkingticketsimulator;

    /**
    *
    * @author Wood Family
    */
    public...
  9. Thread: Many Errors

    by Woody619
    Replies
    10
    Views
    4,293

    Re: Many Errors

    Thank you guys for the help! I've redone my classes to where I am not receiving the '{' is expected error.

    However, I am still receiving the static context message. I'm a beginner in Java and I am...
  10. Thread: Many Errors

    by Woody619
    Replies
    10
    Views
    4,293

    Many Errors

    I am doing a Parking Ticket Simulator for a Java class.

    I am using NetBeans 6.8 and I keep getting error messages in my code. The two most prominent error messages are: '{' is expected and...
Results 1 to 10 of 10