Search:

Type: Posts; User: SeanEE89

Search: Search took 0.27 seconds.

  1. Replies
    10
    Views
    760

    After reading your last post I did do some...

    After reading your last post I did do some reviewing and realized what I did to cause those errors. thanks for the help! turns out there were more that arose but I got all the bugs out finally. :)
  2. Replies
    10
    Views
    760

    So the Truck method I created is not serving as a...

    So the Truck method I created is not serving as a Truck constructor in that class then?
  3. Replies
    10
    Views
    760

    Uhhh do you think you could give a better hint...

    Uhhh do you think you could give a better hint then that? haha

    I apologize this has been driving me nuts and I am resorting to the forum because I'm hopelessly lost now.
  4. Replies
    10
    Views
    760

    Re: Null Pointer Exception?

    Oh sorry here is the entire thing. If you are wondering about the IT206.labbassignments.lab2assignment. that's the package that I have the two files in.
  5. Replies
    10
    Views
    760

    Re: Null Pointer Exception?

    I did not realize that. I checked the lines, but still can not figure out what the problem is. I have initialized the variables.

    The first is on line 29 in the TruckWithStereo class



    The...
  6. Replies
    10
    Views
    760

    Null Pointer Exception?

    I am getting a null pointer exception and can not figure out what I'm missing here. Does anyone have any idea what I'm missing? :(
  7. Re: Trouble with the use of isDigit and isLetter

    I haven't had an opportunity to get to a computer to try anything out. I was just wondering if you'd be a able to provide an example.

    Wouldn't I be able to use a count to count how many letters...
  8. an example?

    an example?
  9. Trouble with the use of isDigit and isLetter

    I am trying to figure out how to concat two strings if certain conditions are met or not met. Say I were to enter a string, and the string did not contain any letters. I would then prompt the...
  10. Replies
    9
    Views
    355

    Re: Converting letter casing in strings

    String input = "little";

    for(int i = 0; i < input.length(); i++){

    else if(input.charAt(i) == 'l'){

    output = input.replace('l', 'L');

    }//end l to L...
  11. Replies
    9
    Views
    355

    Re: Converting letter casing in strings

    How could i use the toUpperCase method to accomplish this?

    As for using subStrings would I have to use two incase I were to enter a word where the 'L' might be inside of the given word like if I...
  12. Replies
    9
    Views
    355

    Re: Converting letter casing in strings

    What methods would I have to use in order to accomplish this?

    If this is not possible why is there a replace method for characters? Just wondering, because the examples I've seen of it lead me to...
  13. Replies
    9
    Views
    355

    Re: Converting letter casing in strings

    You're close, but I am aware of the toUpperCase method. I'm trying to convert a specific character though; not an entire string of characters. If I were to enter the word "laugh" I would want it to...
  14. Replies
    9
    Views
    355

    I will give it a look when I get to a computer...

    I will give it a look when I get to a computer thanks!! if anyone else has any feedback or the answer to my question I would appreciate it if they'd chime in. Other resources like the API would be...
  15. Replies
    9
    Views
    355

    Converting letter casing in strings

    I am trying to figure out how to alter specific characters in a string. Say I were to enter a string in that contains a lowercase "i".
    How could I command java to convert the lowercase "i" to an...
Results 1 to 15 of 15