#3 First Code in Java

  Рет қаралды 368,780

Telusko

Telusko

Жыл бұрын

Telusko Courses:
Industry Ready Java Spring Microservices Developer Live : bit.ly/JavaMS2
Complete Java Developer Course : bit.ly/Comp-Java-Dev-2
Coupon: TELUSKO20 (20% Discount)
Java Simplified LiveCourse : bit.ly/java-pro-telusko
Advance Java with Spring Boot Live Course : bit.ly/adv-java-telusko
Complete java developer Course : bit.ly/complete-java
Coupon Code: TELUSKO10 (10% off)
Udemy Courses:
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
Java For Programmers:- bit.ly/javaProgrammers
For More Queries WhatsApp or Call on : +919008963671
website : courses.telusko.com/
For More Queries WhatsApp or Call on : +919008963671
In this lecture we will learn:
- Using the VsCode IDE
- How to start VsCode?
- How do we create a project?
- Creating the first java code
- Use of JShell to run small codes
- Steps to compile a code in the terminal
#1
We will start doing coding in the VsCode.
- VsCode includes Explorer, Search, Run and Debug, and Add Extension options in it.
- You can add an extension if you want as per the VsCode recommendation like Extension Pack for Java.
- We will create a project in Explorer.
- VsCode itself has a terminal where you can run commands.
java --version - used to check the version of java
javac --version - used to check the version of java compiler
- java command is used to run the code while the javac command is used to compile the code.
:- How do we create a project?
Project is a very broad term that is used when we create some files and merge these files with libraries.
- We will create a new folder where we store all the files of our course.
:- Creating a first Java file:
-You can create the first java file in a folder like Hello.java.
- .java is an extension of Java files.
#2
Creating our first Java Code to print "Hello World" :
JShell:-
- We have a concept of JShell that is introduced in Java 9 where you can create small codes and perform operations.
- Print is an inbuilt method in Java that is used to print anything and it uses with System.out like:
System.out.print(6);
System.out.print("hello world");
- double quotes are used to print any text.
- a semicolon is required after every statement in Java as per the syntax.
-JShell can't be used for doing projects, it is only useful for experiments or learning concepts.
Two steps to compile any code:
1. Compile the code using the javac command.
javac filename
2. Run the code using the java command.
java classname
Github repo : github.com/navinreddy20/Javac...
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.telusko.com

Пікірлер: 77
@bhuvanprasathk
@bhuvanprasathk Жыл бұрын
People paying 20k+ for java courses...and then there is this man! Top class teaching, interesting etc etc! Great man! 👍
@Jitendra-dl1kb
@Jitendra-dl1kb 7 ай бұрын
there are so many youtubers out there make free content on java and many other programming languages.
@hemanthsai5640
@hemanthsai5640 Жыл бұрын
Thank u so much naveen sir beacuse of your videos i got a job in mphasis comapny and thanks a lot so I will cherish this moment in my life and finally thank u so much
@nehaarora2441
@nehaarora2441 Жыл бұрын
I really appreciate the help you providing to common people who can't afford expenses courses. Thank you so much.
@LifeCodeGame
@LifeCodeGame Жыл бұрын
Congratulations on taking your first steps into the world of Java programming! Keep up the great work!
@Lakansha1801
@Lakansha1801 2 ай бұрын
Kis application ko download karna padhta hai
@BLAZIN77KONG
@BLAZIN77KONG 7 ай бұрын
Hey, I watched the first two videos and gained motivation to learn Java. Thanks you teach free and its probably better than paid courses! Love from India ❤!
@nageshb3583
@nageshb3583 Жыл бұрын
I am Nagesh B from bangalore. Almost more than 200 my students I have subscribed. Really lot of the things I have learned. Better start doing videos on small projects using core java.
@madhu22984
@madhu22984 Жыл бұрын
Heartiest Thank you sir❤❤🥲🥲
@arahmantv8584
@arahmantv8584 25 күн бұрын
Weldone sir we are from Nigeria and we're always proud with u
@hibuddy911
@hibuddy911 Жыл бұрын
Sir hats off for you .
@user-le2vm7wp4p
@user-le2vm7wp4p 2 ай бұрын
Hello boss I am now downloading my setups and begin all other lessons with you
@alexmbani7675
@alexmbani7675 11 ай бұрын
Great teacher
@kaushik_herle
@kaushik_herle Жыл бұрын
Great Video
@Naresh-rq6oc
@Naresh-rq6oc Жыл бұрын
please add ajava project with full use of methods overriding over loading concepts and exception concepts etc..
@gaganv8850
@gaganv8850 Жыл бұрын
Sir we want more video's on spring boot for beginner
@iNeurons
@iNeurons Жыл бұрын
I am full fresher in Java What a my luck 🤞❤️
@nishantpatel7480
@nishantpatel7480 Жыл бұрын
Sir you are going to cover all the topics in java
@jayprakashjaiswal8220
@jayprakashjaiswal8220 Жыл бұрын
Sir please make new video on spring
@md.shabbirahmadraza9101
@md.shabbirahmadraza9101 Жыл бұрын
Great ...
@varshagowda669
@varshagowda669 11 күн бұрын
Ur genius...........❤️❤️❤️
@jhansipriya5006
@jhansipriya5006 8 ай бұрын
how in your vs code only course file is visible in my vs code all files desktop files are shown including the file created in desktop it makes it look clumsy
@luqmanraaz4
@luqmanraaz4 Жыл бұрын
i m very new to java so i dont know where you brought that telusko terminal?????????????????????
@s.abhignah1728
@s.abhignah1728 11 ай бұрын
How???
@shilpareddy3360
@shilpareddy3360 8 ай бұрын
Same doubt
@vaishnavithantry2122
@vaishnavithantry2122 8 ай бұрын
Heree too
@suneela9758
@suneela9758 7 ай бұрын
his system name is telusuko. that's why it is showing like that.
@hameheroj4030
@hameheroj4030 7 ай бұрын
Good question! I needed to check in another tutorials, sad!
@user-rr6pi2uc6k
@user-rr6pi2uc6k Ай бұрын
I saw many comments here about opening the terminal, if you see at 6:16 he is clicking on the terminal which is pinned to the bottom of his screen. Just that.
@saeednawaz2694
@saeednawaz2694 Жыл бұрын
we are waiting for upcoming videos
@PScreationsHavish
@PScreationsHavish 28 күн бұрын
Sir I am having a doubt..for printing hello world, you said the code will be System.out.print("Hello World") in jshell. Other than vs code compiler like online programiz what will be the code??
@CodingBirdsOnline
@CodingBirdsOnline 10 ай бұрын
All good, but is this video cut and merge of older videos, in last video you were using windows, vscode looked different but it is mac now
@vaishanths3038
@vaishanths3038 Жыл бұрын
Hey, is the name of your channel refer to the world in Telugu which means "learn"? If yes, very nice name haha
@Telusko
@Telusko Жыл бұрын
Yes, correct
@gipsondaniel1070
@gipsondaniel1070 8 ай бұрын
Sir how you are opening that new terminal .. (For j shell) in windows it's not coming can you pls explain it clearly sir
@poojasritandalam2470
@poojasritandalam2470 3 ай бұрын
Goto terminal and click on new terminal that's it . We can use jshell
@yawanthyah3517
@yawanthyah3517 Жыл бұрын
Sir love u sir
@manikantakantamsetti1350
@manikantakantamsetti1350 10 ай бұрын
Sir how to open a terminal
@ajinmech769
@ajinmech769 11 ай бұрын
What is the difference between Vs code and eclipse
@pranathireddy7995
@pranathireddy7995 3 күн бұрын
10:00 You forgot to mention how to exit Jshell. Use the command /exit
@Th3Mag1c1an
@Th3Mag1c1an 6 ай бұрын
if exit doesnt work for you in Jshell try /ex or /exit
@not_really9916
@not_really9916 3 күн бұрын
Hello I just start this course.When I type javac Hello.java.It does not show error.
@jkoushik3515
@jkoushik3515 9 ай бұрын
@telusko. Hi sir,One query here: jshell is possible via command prompt or terminal. Is it possible in IDE too like Eclipse and intell J. If possible may I know how can we do that??
@gipsondaniel1070
@gipsondaniel1070 8 ай бұрын
Same doubt here🤔
@shrishtigarg4674
@shrishtigarg4674 5 ай бұрын
same iI dont understand where to open jshell
@sureshbvrm1
@sureshbvrm1 4 ай бұрын
@@shrishtigarg4674 it is easy ...just type jshall in terminal then it will open jshall commands.. promet
@poojasritandalam2470
@poojasritandalam2470 3 ай бұрын
We can use it through terminal itself
@soubhagyamishra3902
@soubhagyamishra3902 10 ай бұрын
Sir its showing package in system does not exist
@yogitakhot1787
@yogitakhot1787 Ай бұрын
Your course is too good and we are getting it from company but I need it with either intellij or eclipse
@yogitakhot1787
@yogitakhot1787 Ай бұрын
Do you have any course with eclipse or intellij
@asifpatel6293
@asifpatel6293 3 ай бұрын
how he increase the mouse pointer for a whice at 4:30. HOW ?
@rahulitsmyvlogs4016
@rahulitsmyvlogs4016 Жыл бұрын
👍
@thehubofprogrammers
@thehubofprogrammers Жыл бұрын
👍👍👍👍
@user-ll7ri5jg3e
@user-ll7ri5jg3e 2 ай бұрын
sir in command prompt java version is not showing its showing only java c version what do sir
@VayuEdit
@VayuEdit 6 ай бұрын
how to open jshell
@MuhammadMaaz-fg6cs
@MuhammadMaaz-fg6cs 2 ай бұрын
unable to initialize device prn
@iNeurons
@iNeurons Жыл бұрын
Hello sir 👋
@Nikhil-qi4oz
@Nikhil-qi4oz Жыл бұрын
🖖
@brokenbeats6750
@brokenbeats6750 Жыл бұрын
How to open jshell...??
@s.abhignah1728
@s.abhignah1728 11 ай бұрын
Yes...how?
@user-lt2tz6en3o
@user-lt2tz6en3o 2 ай бұрын
you can explain in simple but you can do more complicated
@amritkashyap4740
@amritkashyap4740 Жыл бұрын
Hello sir g
@likhitasharma423
@likhitasharma423 3 ай бұрын
Why am I getting error for exit too...? 8:12
@Bestpests
@Bestpests Жыл бұрын
Sir why are you uploading java videos on PW skills
@nazeerahameed4406
@nazeerahameed4406 Ай бұрын
Excuse me sir system package is not exist it shows
@nazeerahameed4406
@nazeerahameed4406 Ай бұрын
What can I do sir
@AntarikshRajkonwar
@AntarikshRajkonwar 24 күн бұрын
12/5/24
@tutturu858
@tutturu858 4 ай бұрын
How to open this terminal in 6:21
@045surajkumar2
@045surajkumar2 4 ай бұрын
hey, want complete together?
@NicheNi
@NicheNi 5 ай бұрын
Kuch smj nhi aah rha… I am not getting anything in this video
@googleuser7495
@googleuser7495 11 күн бұрын
on 3rd episode , 5/24/2024 just to trace myself
@pratiknaik6676
@pratiknaik6676 Жыл бұрын
Ham First ham first
@bidhankumar8762
@bidhankumar8762 Жыл бұрын
1st view
@dimpe5038
@dimpe5038 7 ай бұрын
te amo pelado
@nazeerahameed4406
@nazeerahameed4406 Ай бұрын
Sir when I compile the code javac hello.java it is showing my PS c/ user
#4 How Java Works
12:03
Telusko
Рет қаралды 336 М.
#2 Java Development Kit (JDK) Setup
8:20
Telusko
Рет қаралды 452 М.
Can you beat this impossible game?
00:13
LOL
Рет қаралды 48 МЛН
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 32 МЛН
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 39 МЛН
#26 Stack And Heap in Java
12:37
Telusko
Рет қаралды 187 М.
#5 Variables in Java
11:45
Telusko
Рет қаралды 269 М.
#3  Prerequisite and Tools required for Spring
5:02
Telusko
Рет қаралды 11 М.
Introduction to Java Language | Lecture 1 | Complete Placement Course
18:46
#5 What is Spring Boot?
12:12
Telusko
Рет қаралды 17 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 335 М.
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 1,1 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,6 МЛН
ПРОБЛЕМА МЕХАНИЧЕСКИХ КЛАВИАТУР!🤬
0:59
Корнеич
Рет қаралды 3,6 МЛН