#3 First Java Program | Print Hello in Java using CMD | Complete Core Java Course in Hindi/Urdu

Опубликовано: 19 Октябрь 2024
на канале: CodeHunt
56
2

Watch now to start your journey in Java programming with clear explanations and practical examples in Hindi/Urdu.

In this video, we have covered:
1.How to print Hello through CMD in Java

VIDEO IS ALL ABOUT:-

#1
Install Java: Ensure that Java is properly installed on your system.

Create a Folder: After installation, create a new folder where you will save your Java files.

Create Launch.java File: Inside the folder, create a file named Launch.java.

Write the First Program:
Focus on printing a simple message, like "Hello", using System.out.print.
Ignore the basic syntax and keywords for now, and focus on understanding how to print output.
Emphasize that the program execution always starts with the main method: public static void main(String[] args).

Open Command Prompt: Navigate to the folder where your Launch.java file is located.

Compile the Program:
Use the command javac Launch.java to compile the Java file.

Run the Program:
After compilation, run the program with java Launch.

Eclipse IDE:
Mention that Eclipse can make this process easier, as it handles the compiling and running steps automatically with just a few clicks.

Quiz Time! 📝
Test your knowledge

Question: Which command can be used to compile the .java file
a) javac
b) javap
c) javac --version
d) javap --compile

COMMENT YOUR ANSWER

PLAYLISTS:
➡️FREE CORE JAVA:👇
   • Core Java for Free  

➡️PAID CORE JAVA:👇
   • 🎥PAID COURSE: Live Recorded : Java Fu...  

➡️For Members: Springboot Project (Taxi Booking Web Application):👇
   • SpringBoot Project (Taxi Booking) (ME...  

➡️For Members: Java 8 Features (Taxi Booking Web Application):👇
   • JAVA 8 FEATURES (MEMBERS ONLY)  

➡️PAID ADVANCED JAVA :👇    • 🎥PAID COURSE: Live Recorded : Adv Jav...  

➡️PAID HIBERNATE:👇    • 🎥PAID COURSE: Live Recorded : Hiberna...  

➡️PAID SPRING FRAMEWORK:👇    • 🎥PAID COURSE: Recorded :SPRING 2024  

CODEHUNT Telegram job group: 👇
https://t.me/+keqEyqfCJhkxYmFl

SOCIAL MEDIA LINKS :👇
LINKEDIN:   / code-hunt-5b047618a  
INSTAGRAM:   / itscodehunt  
TWITTER:   / itscodehunt  

➡️For Live Session Contact: 8088467640

first java program, java first program, how to print hello in java, run java program through cmd, compile java program cmd, java program execution, javac command usage, java main method, print hello in java, simple java program, compile and run java, java for beginners, run java in command prompt, execute java program, java basic program tutorial

#CoreJava #JavaProgramming #LearnJava #JavaForBeginners #javasetup#JavaFirstProgram #JavaHelloWorld #firstjava

Donation:
UPI Number: +91 8088467640