LEC: 3 | JAVA

 

LEC:3

DATA TYPES IN JAVA





Source Code:

package lec_2; public class Lec_2 { /*Multi line comments */ public static void main(String[] args) { //int x=88; //float x=77.4f; //float x=88.999f; //88.9999999999999999 //double x=88.999999999999d; boolean y=false; long x= 824873857; System.out.println("The value of a is : " + x); System.out.println("Bolean is running " +y); //string and char in next lecture
} }

Comments

Popular posts from this blog

RunwayWithCode

web development Lectures

C++ Lectures