removed Correct test
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
44c2f551de
commit
7ddea8f18d
@ -1,24 +0,0 @@
|
|||||||
public class Test {
|
|
||||||
|
|
||||||
public Car c;
|
|
||||||
|
|
||||||
public int test(boolean b, int x) {
|
|
||||||
if (b == true) {
|
|
||||||
return c.getSpeed();
|
|
||||||
} else {
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public class Car {
|
|
||||||
|
|
||||||
private int speed;
|
|
||||||
|
|
||||||
public int getSpeed() {
|
|
||||||
return speed;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user