43 KEYWORDS AND EXPRESSIONS

 package com.cnc;

public class Main {
public static void main(String[] args) {
double km = ( 100*1.609344);
//datatype //expression(var,val,operators)
int highScore = 50;
if(highScore == 50){
System.out.println("this is an expression");
        }
}

int highScore = 50; entire line is the statement & highScore = 50 the expression

Popular posts from this blog

NUMBER PALINDROME CHALLENGE

ENCAPSULATION CHALLENGE

LARGEST PRIME FACTOR OF A NUMBER