Search:

Type: Posts; User: Nasty

Search: Search took 0.08 seconds.

  1. Replies
    7
    Views
    1,328

    [SOLVED] Re: Null error when executing in cmd prompt

    Actually you got me thinking there!

    I've placed the sterWoord2 variable that I've declared in the public class in the public String vervangen.

    And the null disappeared after executing it! Such...
  2. Replies
    7
    Views
    1,328

    [SOLVED] Re: Null error when executing in cmd prompt

    public String vervangen (String sterWoord, String teRadenWoord, char letter) {
    for (int i = 0; i < sterWoord.length() ; i++) {
    if (teRadenWoord.charAt(i) == letter) {
    if...
  3. Replies
    7
    Views
    1,328

    [SOLVED] Re: Null error when executing in cmd prompt

    That's the problem, it doesn't say anything at all, it just keeps running the program untill I stop running it!

    proof: 1686

    === Het Rad van Fortuin ===

    Met hoeveel willen jullie spelen?
    1...
  4. Replies
    7
    Views
    1,328

    [SOLVED] Null error when executing in cmd prompt

    Hello,

    I'm working on a school project but there's one tiny thing that's bugging me.
    I think the error is around the public char GokMedeklinker and public String vervangen.
    Here's my code and...
Results 1 to 4 of 4