গত টিউটরিয়াল এ আমরা int long short byte সম্পর্কে জেনেছি আজ আমরা float double char boolean সম্পর্কে জানব।
float data type:
এটি হল 4 বিট সিঙ্গেল প্রেসিসন floating point।
এর সিমা হল3.40282347E+38F to 1.4E-45
এর ডিফল্ট ভেলু হল ০.০
example: float a=10.5f;
double data type:
এটি হল ৮ বিট সিঙ্গেল প্রেসিসন floating point।
এর সিমা হল 1.79769313486231570E+308 to 4.9E-324
এর ডিফল্ট ভেলু হল ০.০d
example: float a=10.55555555d;
char data type:
এটি হল 16 বিট সিঙ্গেল unicode character
এর সিমা হল 0 to 65,535
এর ডিফল্ট ভেলু হল ‘\u0000’ (অথবা 0)
example:char a=’B’;
boolean data type:
এটি সুধু ১ বিট প্রকাশ করে।
এর সুধু দুইটি ভেলু সত্য অথবা মিথ্যে।
ডিফল্ট ভেলু false
example: boolean a=true;
প্রোগ্রাম নিচে দিলামঃ
[code lang="java"] /** * Created by Asif on 8/5/2017. */ public class DataType { static float a; static double b; static char c; static boolean d; public static void main(String args[]){ System.out.println(a);//show default value System.out.println(b);//show default value System.out.println(c);//show default value System.out.println(d);//show default value a=10.0f; b=20.55555d; c='A'; d=true; System.out.println(a);//Show assign value System.out.println(b);//Show assign value System.out.println(c);//Show assign value System.out.println(d);//Show assign value } } [/code]
সহায়ক ভিডিওঃ
generic lipitor 40mg buy lipitor 10mg online oral lipitor 40mg
lipitor 20mg cheap buy atorvastatin generic atorvastatin 40mg drug
baycip price – bactrim canada buy augmentin 375mg pill
brand glucophage – glycomet 500mg generic purchase lincocin without prescription
retrovir 300mg generic – buy zyloprim 100mg for sale allopurinol 100mg over the counter
retrovir medication – cheap avapro zyloprim 100mg pills
clozaril cost – aceon 4mg brand order famotidine
clozaril 50mg pills – order aceon pills famotidine generic
order quetiapine online cheap – eskalith pills buy eskalith no prescription
order seroquel 100mg sale – eskalith generic order eskalith pills
order anafranil pill – buy cheap generic mirtazapine sinequan 25mg pills
anafranil medication – anafranil 25mg us order doxepin 25mg pills
order atarax 25mg pills – buy hydroxyzine oral endep 25mg
atarax online order – buy atarax 25mg without prescription order endep 10mg without prescription
cost augmentin 375mg – acillin usa purchase cipro online cheap
buy generic amoxicillin – amoxicillin where to buy buy ciprofloxacin cheap
amoxil where to buy – order generic cephalexin 250mg buy ciprofloxacin online cheap
buy clavulanate pills – cost zyvox ciprofloxacin 1000mg cheap
buy cheap generic clindamycin – purchase terramycin sale purchase chloromycetin sale
order cleocin generic – buy monodox sale buy generic chloramphenicol
azithromycin 250mg us – order ofloxacin 400mg for sale order ciprofloxacin pills
zithromax 500mg tablet – oral sumycin 500mg buy ciprofloxacin 500 mg for sale