
package ex02.exercise;
public class Ex03 {
public static void main(String[] args) {
int x = 100;
double y = 123.4;
boolean b = (x == y); // =이 하나라 두 개로 바꿈
// 예측해보자.
// false
System.out.println(b); // false
}
}
Share article