LEARNING SOME BASICS OF JAVA

// compares two values and return in boolean 

 package day1;

import java.util.Scanner;



public class day1 {


public static void main(String[] args) {

int x=10;

int y=2;

boolean c= x==y;

System.out.println(c);

}


}



Comments

Popular posts from this blog

JDAY 0: word swapping, input / output, calculation of hypotenese, Random numbers