#12 What is DataType in Java | Types of DataType | Primitive & Non - Primitive DataType Example
package com.sudhirtheindian2.java123;
public class datatype {
public static void main(String[] args) {
// What is datatype and its type
// datatype specifie the different type of value
// that are stored on the variable
// type of datatype
// 1 premitive
// 2 non-premitive
// premitive
// (1) numeric
// byte 1
// short 2
// int 4
// long 8
// double 8
// float 4
// 2 non numeric
// char 2
// bolean 1 bit(true/false)
// non premitive
// class
// array
// string
//
}
}
टिप्पणियाँ
एक टिप्पणी भेजें