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...
Type: Posts; User: Nasty
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...
public String vervangen (String sterWoord, String teRadenWoord, char letter) {
for (int i = 0; i < sterWoord.length() ; i++) {
if (teRadenWoord.charAt(i) == letter) {
if...
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...
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...