আজ থেকে মজার দিন শুরু আমরা এখন প্রোগ্রাম এর মজা পাওয়া শুরু করব কারন এখন থেকে বুঝে বুঝে প্রোগ্রাম করব।
প্রথমেই আমরা আমাদের source code টির দিকে লক্ষ করি।
[code lang="java"] public class Hello{ public static void main(String args[]) { System.out.println("hello world"); } }[/code]
public
public বলতে আমরা সরকারি কোন কিছুকে বুঝি এখানেও একিই কথা public যার পূর্বে লেখা থাকবে তাকে সবাই ব্যবহার করতে পারবে।
class
class লিখতে হলে সুরুতে এটি লিখতে হয়।
Hello
এটি class এর নাম
public static
public static আমরা জানি jvm main মেথড কল করে তাই আমরা এখানে public static দেই এর মানে কোন অবব্জেক্ট তৈরি করা ছাড়াই একে jvm ব্যবহার করতে পারবে
void
void কোন কিছু রিটার্ন করে না।
main
main এটা প্রোগ্রাম এর এন্ট্রি পয়েন্ট।
String args[]
String args[] String টাইপ এর এরে
System
System এটি একটি class
out
out এটি একটি static variable
println()
println() এটি মেথড
আজ আমরা যেটুকু শিখলাম এটি হল কেউ যদি আমাদের বলে জাভা ল্যাঙ্গুয়েজ এর মেইন মেথড টি ব্যাখ্যা করতো তাহলে আমরা এভাবে বলতে পারব কিন্তু আমরা জানি শুধু tarm গুলো মুখস্ত হিসেবে কিন্তু একদিন এই টার্ম গুলো আমাদের কাছে পানির মত পরিষ্কার হয়ে যাবে।
হেল্পিং হিসেবে ভিডিও টি দেখবেনঃ
order atorvastatin 20mg generic buy lipitor 20mg generic order lipitor 80mg without prescription
ciprofloxacin over the counter – buy septra pill augmentin 1000mg over the counter
order cipro 1000mg generic – myambutol order online purchase augmentin generic
buy retrovir no prescription – order zyloprim 100mg without prescription zyloprim 300mg tablet
order clozaril 50mg – amaryl us generic famotidine
seroquel 50mg without prescription – order generic bupron SR buy eskalith no prescription
clomipramine price – order clomipramine 25mg generic buy sinequan online
brand hydroxyzine – fluoxetine brand buy generic endep over the counter
buy augmentin 625mg online cheap – zyvox 600 mg over the counter ciprofloxacin 500mg canada
buy amoxicillin no prescription – generic erythromycin baycip over the counter
buy generic cleocin over the counter – cleocin cost chloromycetin for sale online
zithromax brand – tinidazole where to buy buy generic ciplox over the counter
ivermectin 3 mg for sale – buy ivermectin 6mg online cefaclor 500mg pills