আগে আমরা কোডটি দেখে নেই।
[code lang="java"] * Created by Asif on 7/29/2017. */ public class MainClass { int a=10; public static void main(String args[]){ int a;//ডিকলিয়ার int b;//ডিকলিয়ার int c;//ডিকলিয়ার a=10;//ইনিসিয়ালায়জড b=20;//ইনিসিয়ালায়জড c=30;//ইনিসিয়ালায়জড int e=10;//ডিকলিয়ার এন্ড ইনিসিয়ালায়জড int f=20;//ডিকলিয়ার এন্ড ইনিসিয়ালায়জড int g=100;//ডিকলিয়ার এন্ড ইনিসিয়ালায়জড int ab,cd,df,gh,ij=10;////কলিয়ার এন্ড ইনিসিয়ালায়জড ij আন্য গুল সুধু ডিক্লিয়ার int af=10,gg=20,ss=500,rf=5000;//িকলিয়ার এন্ড ইনিসিয়ালায়জড সব গুল। System.out.println(a);//সুধু প্রিন্ট System.out.println(b);////সুধু প্রিন্ট System.out.println(c);////সুধু প্রিন্ট System.out.println(e);////সুধু প্রিন্ট } } [/code]
ভারিয়াবল ডিকলিয়ারঃ
ভেরিয়েবল এর নাম এবং সুধু ডাটা টাইপ লেখলে সেটাকে ভারিয়াবল। ডিকলিয়ার বলে যেমন কডে আমরা লিখছি।
int a;//ডিকলিয়ার int b;//ডিকলিয়ার int c;//ডিকলিয়ার
ইনিসিয়ালাইজঃ
ভেরিয়েবল এর মধ্যে মান দিলে তাকে ইনিসিয়ালাইজ বলে। যেমন আমরা কোড এ ইনিসিয়ালাইজ করছি। নিছের মতঃ
a=10;//ইনিসিয়ালায়জড
b=20;//ইনিসিয়ালায়জড
c=30;//ইনিসিয়ালায়জড
ডিকলিয়ার এবং ইনিসিয়ালাইজঃ
ডাটা টাইপ ভেরিয়েবল এবং একই সতে মান দিয়ে দিলে তাকে বলে
ডিকলিয়ার এবং ইনিসিয়ালাইজ যেমনঃ
int af=10,gg=20,ss=500,rf=5000;//িকলিয়ার এন্ড ইনিসিয়ালায়জড
পারসিয়াল ডিকলিয়ার এবং পারসিয়াল ইনিসিয়ালাইজঃ ডিকলিয়ার এবং মান কিছু একসাতে আর কিছু পরে দিলে বুঝাই পারসিয়াল ডিকলিয়ার এবং পারসিয়াল ইনিসিয়া লাইজঃ
lipitor pills buy atorvastatin without a prescription purchase atorvastatin for sale
buy atorvastatin cheap order lipitor 40mg without prescription oral lipitor 20mg
cipro 1000mg over the counter – augmentin 625mg sale buy amoxiclav generic
metformin ca – metformin 500mg brand where can i buy lincocin
purchase retrovir generic – order lamivudine 100mg without prescription zyloprim brand
generic zidovudine 300mg – oral zyloprim
clozaril online – accupril us famotidine 40mg oral
clozaril over the counter – buy cheap generic clozaril buy pepcid 20mg generic
anafranil 25mg for sale – order citalopram 40mg online doxepin 25mg without prescription
buy seroquel sale – bupron SR oral cheap generic eskalith
quetiapine 100mg pill – sertraline price order eskalith online
buy anafranil 25mg online – aripiprazole 20mg sale order doxepin 75mg online cheap
purchase hydroxyzine for sale – buy pamelor cheap endep 10mg oral
hydroxyzine price – buspar 10mg generic cost endep 25mg
order augmentin online cheap – how to get ampicillin without a prescription ciprofloxacin 500mg oral
cost amoxicillin – keflex 500mg cheap generic cipro 1000mg
cheap amoxicillin generic – buy ceftin 250mg pills oral ciprofloxacin
amoxiclav brand – ethambutol sale cipro order online
buy zithromax without a prescription – flagyl for sale order ciplox 500 mg for sale
cleocin 150mg generic – purchase monodox generic chloromycetin price
buy cleocin 300mg pills – cefixime 100mg drug buy chloromycetin paypal
azithromycin 500mg drug – buy tetracycline medication ciprofloxacin 500mg us