Тёмный

#3 First Code in Java 

Telusko
Подписаться 2,4 млн
Просмотров 507 тыс.
50% 1

Check out our courses:
Complete Java Developer Course Batch-3: go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Enterprise Java Spring Microservices: go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com...
Coupon: TELUSKO20 (20% Discount)
For More Queries WhatsApp or Call on : +919008963671
Udemy Courses:
Spring: go.telusko.com...
Java:- go.telusko.com...
Java Spring:- go.telusko.com...
Java For Programmers:- go.telusko.com...
Python : go.telusko.com...
Git : go.telusko.com...
Docker : go.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/nav...
Java:- bit.ly/JavaUde...
Spring:- bit.ly/SpringU...
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

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 96   
@bhuvanprasathk
@bhuvanprasathk Год назад
People paying 20k+ for java courses...and then there is this man! Top class teaching, interesting etc etc! Great man! 👍
@deekshithd359
@deekshithd359 2 месяца назад
@Jitendra-zeremiah could you suggest other top java playlists..
@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
@BLAZIN77KONG
@BLAZIN77KONG 11 месяцев назад
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 ❤!
@LifeCodeGame
@LifeCodeGame Год назад
Congratulations on taking your first steps into the world of Java programming! Keep up the great work!
@Lakansha1801
@Lakansha1801 5 месяцев назад
Kis application ko download karna padhta hai
@Robin-50
@Robin-50 22 дня назад
@@Lakansha1801 aapki marji hai. woh vs code ko istemaal kar rha hai
@nehaarora2441
@nehaarora2441 Год назад
I really appreciate the help you providing to common people who can't afford expenses courses. Thank you so much.
@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.
@arahmantv8584
@arahmantv8584 4 месяца назад
Weldone sir we are from Nigeria and we're always proud with u
@madhu22984
@madhu22984 Год назад
Heartiest Thank you sir❤❤🥲🥲
@EnukondaChandrika
@EnukondaChandrika Месяц назад
love you navin sir because you helped me so much through this course.Really it was helpfull to beginners
@RealRameshBabu
@RealRameshBabu Месяц назад
I'm really glad that we have dark mode in IDEs, coding in light mode is very much a strain to the eyes
@ElaineSoaresAlmeida
@ElaineSoaresAlmeida 5 месяцев назад
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.
@baanggg7574
@baanggg7574 Месяц назад
How do I open that
@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
@luqmanraaz4
@luqmanraaz4 Год назад
i m very new to java so i dont know where you brought that telusko terminal?????????????????????
@s.abhignah1728
@s.abhignah1728 Год назад
How???
@shilpareddy3360
@shilpareddy3360 Год назад
Same doubt
@vaishnavithantry2122
@vaishnavithantry2122 11 месяцев назад
Heree too
@suneela9758
@suneela9758 11 месяцев назад
his system name is telusuko. that's why it is showing like that.
@hameheroj4030
@hameheroj4030 11 месяцев назад
Good question! I needed to check in another tutorials, sad!
@crazybadhrigamer2826
@crazybadhrigamer2826 2 месяца назад
how did you open that terminal sir.....
@hibuddy911
@hibuddy911 Год назад
Sir hats off for you .
@Manohar_85
@Manohar_85 4 месяца назад
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??
@Robin-50
@Robin-50 22 дня назад
are bro its for every ide. ide just makes it simpler to write code. it is possible to write a whole website by notepad but it is hard
@user-le2vm7wp4p
@user-le2vm7wp4p 5 месяцев назад
Hello boss I am now downloading my setups and begin all other lessons with you
@jayprakashjaiswal8220
@jayprakashjaiswal8220 Год назад
Sir please make new video on spring
@nishantpatel7480
@nishantpatel7480 Год назад
Sir you are going to cover all the topics in java
@gipsondaniel1070
@gipsondaniel1070 11 месяцев назад
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 7 месяцев назад
Goto terminal and click on new terminal that's it . We can use jshell
@kaushikReddynarra
@kaushikReddynarra 2 месяца назад
Go to Terminal > New Terminal > Enter "jshell" and press enter
@manikantakantamsetti1350
@manikantakantamsetti1350 Год назад
Sir how to open a terminal
@jhansipriya5006
@jhansipriya5006 11 месяцев назад
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
@Robin-50
@Robin-50 22 дня назад
it's a new system thats why
@yogitakhot1787
@yogitakhot1787 5 месяцев назад
Your course is too good and we are getting it from company but I need it with either intellij or eclipse
@yogitakhot1787
@yogitakhot1787 5 месяцев назад
Do you have any course with eclipse or intellij
@brokenbeats6750
@brokenbeats6750 Год назад
How to open jshell...??
@s.abhignah1728
@s.abhignah1728 Год назад
Yes...how?
@generalinformation1793
@generalinformation1793 Месяц назад
Are you from Telugu states
@varshagowda669
@varshagowda669 3 месяца назад
Ur genius...........❤️❤️❤️
@sanjaykadivendi-jo8dw
@sanjaykadivendi-jo8dw Месяц назад
Thank you so much sir
@gaganv8850
@gaganv8850 Год назад
Sir we want more video's on spring boot for beginner
@ankitalonkar5602
@ankitalonkar5602 27 дней назад
I would like to install eclipse and vs code , So I am supposed to manage the JDK Kit @telus
@VÏKÅSGØWDÅ-c2v
@VÏKÅSGØWDÅ-c2v 6 месяцев назад
sir in command prompt java version is not showing its showing only java c version what do sir
@alexmbani7675
@alexmbani7675 Год назад
Great teacher
@saralolirock6214
@saralolirock6214 Месяц назад
I'm a beginner + eclipse user the difference in environment is confusing
@AliBaluchzahi
@AliBaluchzahi 20 дней назад
Sir how you open new terminal on jsl...,?
@VayuEdit
@VayuEdit 10 месяцев назад
how to open jshell
@CodingBirdsOnline
@CodingBirdsOnline Год назад
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
@puramcharanreddy1744
@puramcharanreddy1744 3 месяца назад
Anna Telugu Kuda Start Chey Anna 💗
@Naresh-rq6oc
@Naresh-rq6oc Год назад
please add ajava project with full use of methods overriding over loading concepts and exception concepts etc..
@kaushik_herle
@kaushik_herle Год назад
Great Video
@pranathireddy7995
@pranathireddy7995 3 месяца назад
10:00 You forgot to mention how to exit Jshell. Use the command /exit
@likhitasharma423
@likhitasharma423 6 месяцев назад
Why am I getting error for exit too...? 8:12
@iNeurons
@iNeurons Год назад
I am full fresher in Java What a my luck 🤞❤️
@Th3Mag1c1an
@Th3Mag1c1an 9 месяцев назад
if exit doesnt work for you in Jshell try /ex or /exit
@antonsanjay2013
@antonsanjay2013 2 месяца назад
sir why in my college they use println insted of using print
@saeednawaz2694
@saeednawaz2694 Год назад
we are waiting for upcoming videos
@md.shabbirahmadraza9101
@md.shabbirahmadraza9101 Год назад
Great ...
@ajinmech769
@ajinmech769 Год назад
What is the difference between Vs code and eclipse
@user-lt2tz6en3o
@user-lt2tz6en3o 5 месяцев назад
you can explain in simple but you can do more complicated
@not_really9916
@not_really9916 3 месяца назад
Hello I just start this course.When I type javac Hello.java.It does not show error.
@asifpatel6293
@asifpatel6293 7 месяцев назад
how he increase the mouse pointer for a whice at 4:30. HOW ?
@jkoushik3515
@jkoushik3515 Год назад
@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 11 месяцев назад
Same doubt here🤔
@shrishtigarg4674
@shrishtigarg4674 8 месяцев назад
same iI dont understand where to open jshell
@sureshbvrm1
@sureshbvrm1 8 месяцев назад
@@shrishtigarg4674 it is easy ...just type jshall in terminal then it will open jshall commands.. promet
@poojasritandalam2470
@poojasritandalam2470 7 месяцев назад
We can use it through terminal itself
@andreas23ds41
@andreas23ds41 2 месяца назад
At 10:06 and trying to do this step but it never works how can I do it?
@bhavanipudi6938
@bhavanipudi6938 Месяц назад
I recently started this course and my vs code terminal is not working.Its saying that Java is not found when I'm trying to find my version as Java --version I'm getting an error PS: I installed JDK 21 as it is LTS Can anyone please help me
@soubhagyamishra3902
@soubhagyamishra3902 Год назад
Sir its showing package in system does not exist
@kaushikReddynarra
@kaushikReddynarra 2 месяца назад
S should be upper case in System.out.print(6);
@yawanthyah3517
@yawanthyah3517 Год назад
Sir love u sir
@NicheNi
@NicheNi 9 месяцев назад
Kuch smj nhi aah rha… I am not getting anything in this video
@MuhammadMaaz-fg6cs
@MuhammadMaaz-fg6cs 6 месяцев назад
unable to initialize device prn
@Bestpests
@Bestpests Год назад
Sir why are you uploading java videos on PW skills
@iNeurons
@iNeurons Год назад
Hello sir 👋
@Yusuf-8055
@Yusuf-8055 5 месяцев назад
Excuse me sir system package is not exist it shows
@Yusuf-8055
@Yusuf-8055 5 месяцев назад
What can I do sir
@tutturu858
@tutturu858 8 месяцев назад
How to open this terminal in 6:21
@045surajkumar2
@045surajkumar2 7 месяцев назад
hey, want complete together?
@Abhishek-df5tf
@Abhishek-df5tf Месяц назад
Don't use dark theme
@thehubofprogrammers
@thehubofprogrammers Год назад
👍👍👍👍
@googleuser7495
@googleuser7495 3 месяца назад
on 3rd episode , 5/24/2024 just to trace myself
@amritkashyap4740
@amritkashyap4740 Год назад
Hello sir g
@rahulitsmyvlogs4016
@rahulitsmyvlogs4016 Год назад
👍
@dimpe5038
@dimpe5038 10 месяцев назад
te amo pelado
@Nikhil-qi4oz
@Nikhil-qi4oz Год назад
🖖
@AntarikshRajkonwar
@AntarikshRajkonwar 4 месяца назад
12/5/24
@pratiknaik6676
@pratiknaik6676 Год назад
Ham First ham first
@bidhankumar8762
@bidhankumar8762 Год назад
1st view
@Yusuf-8055
@Yusuf-8055 5 месяцев назад
Sir when I compile the code javac hello.java it is showing my PS c/ user
Далее
#4 How Java Works
12:03
Просмотров 459 тыс.
#2 Java Development Kit (JDK) Setup
8:20
Просмотров 613 тыс.
Prank Orchestra
00:10
Просмотров 1,6 млн
Holding Bigger And Bigger Dogs
00:18
Просмотров 25 млн
#5 Variables in Java
11:45
Просмотров 369 тыс.
Learn Java in 14 Minutes (seriously)
14:00
Просмотров 4,7 млн
I learned to code from scratch in 1 year. Here's how.
41:55
Learn Java in One Video - 15-minute Crash Course
14:54
Просмотров 714 тыс.
Premature Optimization
12:39
Просмотров 806 тыс.
#6 Data types in Java
12:19
Просмотров 296 тыс.
Java Tutorial for Beginners
2:30:48
Просмотров 11 млн
Prank Orchestra
00:10
Просмотров 1,6 млн