Fix ClassCanBeTyped

This commit is contained in:
Boolean-True 2024-05-09 17:52:48 +02:00
parent 5f6ca52acb
commit 903f9e8d4e

View File

@ -15,14 +15,15 @@ public class ClassCanBeTyped {
} }
do{ do{
this.y = this.y + 1; this.y = this.y + 1;
}while (this.y < 10); }while (this.y < 10)
if(this.x > 10) { if(this.x > 10) {
this.x = 10; this.x = 10;
} else { } else {
this.x = 20; this.x = 20;
} }
int k = 0; int k;
k = 0;
for ( k = 0; k < 10; k = k+1) { for ( k = 0; k < 10; k = k+1) {
if(k == 5) { if(k == 5) {
return; return;
@ -48,4 +49,4 @@ public class ClassCanBeTyped {
} }
} }