34 IF THEN STATEMENT

 package com.cnc;

public class Main {
public static void main(String[] args) {
boolean isAlien = false;
if (isAlien == false)
{
System.out.println("It is not an alien!");
System.out.println("And I am sacred of aliens");
}
}
}

OUTCOME

It is not an alien! And I am sacred of aliens


Popular posts from this blog

NUMBER PALINDROME CHALLENGE

ENCAPSULATION CHALLENGE

LARGEST PRIME FACTOR OF A NUMBER