#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
//
}
}

टिप्पणियाँ

इस ब्लॉग से लोकप्रिय पोस्ट

Download Hindi Sanskrit Grammar App

HackerRank Java Currency Formatter (Hacker Rank Problem Solution)