First Java Program

Dear Students, aaj ke is Lecture me hum First java program ke bare main seekhege. Sath he hum first java program ko run bhi karege. Or sath me he java ke public access modifier or command line arguments ke bare me bhi padege.

Bhaut se student ka yah saval rahta hai ki java ke program ko kaise likhna start karen. Or thoda class, method se related ye sare topic ham first java program ke lecture me cover karege.

Lectures Covering Topics

  • Introduction First Java Program
  • First Java Program In Hindi
  • Details Of First Java Progarm
  • Public Access Modifier In Hindi
  • Command Line Arguments In Hindi
  • Main Class In First Java Program

Introduction First Java Program

Students hame first java program banane ke liye sabse pahle apne computer system me jdk install karna padege. Hum jdk with NetBeans IDE ko bhi install kar sakte hai.

Agra aapne jdk ya NetBeans me se kuch install nahi kiya hai to aap hamare previous lecture ko pad sakte hai. Neeche diye hue link par click karke previous lecture ko pade.

How to install java & JDK with NetBeans

Hum first java program me sirf welcome ka message print karege. Isme hum Main Class, Method, Package, Main Method etc ka use karege. To chaliye tyar ho jaiye first java program ke liye.

First Java Program In Hindi

To chaliye hum first java program ko samjhte hai. Aap neeche dikhayi gayi image ke code ko achche pad lijiye. Or apne notepad par is code ko copy karke ise run kar leejiye.

Agar aapko java ke program ko run karana nahi aata hai to aap neeche diye hue link par click karke. Mere next lecture how to run java program ko pad sakte hai.

First java program

Note:- Hum java ke program ko java ki first class ke naam se or ‘.java’ extinction se save karte hai.

How to run first java program in hindi

Student ye first java program hai. Is program me ham sirf ek message print kara rahe hai. jisme hamne likha hai ki welcome to hindi me tutorial. Hamne is program me jo bhi use kiya hai. Uske bare main neeche hum is details me padege.

Details Of First Java Progarm

Public:- Public eak Access Modifier hai. Access modifier 4 types ke hote hai. Joki hamari class ke member ke access ko control karte hai. Access modifier ke bare main ham next lecture me detail me padege.

Class:- Class ek keyword hota hai. ye eak new class create karne ka kaam karta hai. Yad rakhe ham class ke naam ka first characte Capital me rakthe hai. Class ke bare me hum next lecture me details me padege.

Demo:- Demo hamari class ka naam hai. Yad rakhe class ka naam unique hota hai.

Static:- Static eak keyword hota hai. joki kisi method ko bina object create kiye call karne ke kaam aata hai. Hume main method ke aage static keyword lagana jaroori hota hai. Kyonki main method ko java runtime environment program ko execute karne ke liye access karta hai.

Main:- Hamare ek program main ek se jyada class ho sakte hai. Hamare program ka execution us claas se start hota hai jisme main method hota hai.

String Args[ ]:- Hum program ko execute karte time par arguments paas karte hai. To ye string array command line arguments ke liye use kiya jata hai. Hum iske bare me next lecture me details me padege.

Void:- Void ek return type method hai. Void method koi bhi value return nahi karta hai.

System.out.println():- Isme system eak package hai. Out eak class hoti hai. Println eak method hai joki screen par output show karne ke liye use kiya jata hai.

Welcome to hindi me tutorial:- Ye eak message hai jo ham apne computer screen par print karan chahate hai.

Related Lecture

Dear Students, main aasha karta hun ki aapko first java program Ka Lecture padh kar samjh me aa gaya hoga. Ki kaise apna first program write karte hai. Yadi aapko (first java program) ke Lecture se related koi bhi problem hai to aap hume comment karke puch skte hai.

 

Share This Post On

About Author

Thakur Aman Singh

Hey, I am Aman Singh Tomar from Taj City Agra. Through This Blog I want to share my Knowledge with all of you. Read More >>

Leave a Reply

Your email address will not be published. Required fields are marked *