16 lines
205 B
Text
16 lines
205 B
Text
|
// Test the equal/not equal operations, one of the types must be a subtype of the other
|
||
|
|
||
|
class Main {
|
||
|
void main() {
|
||
|
int a,b;
|
||
|
boolean c;
|
||
|
a = 8;
|
||
|
b = 6;
|
||
|
c = a==b;
|
||
|
|
||
|
if (!c){
|
||
|
write(5);}
|
||
|
}
|
||
|
}
|
||
|
|