#3 First Code in Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • 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

ความคิดเห็น • 102

  • @hemanthsai5640
    @hemanthsai5640 ปีที่แล้ว +66

    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

  • @bhuvanprasathk
    @bhuvanprasathk ปีที่แล้ว +120

    People paying 20k+ for java courses...and then there is this man!
    Top class teaching, interesting etc etc!
    Great man! 👍

    • @deekshithd359
      @deekshithd359 3 หลายเดือนก่อน

      @Jitendra-zeremiah could you suggest other top java playlists..

  • @nehaarora2441
    @nehaarora2441 ปีที่แล้ว +7

    I really appreciate the help you providing to common people who can't afford expenses courses. Thank you so much.

  • @EnukondaChandrika
    @EnukondaChandrika หลายเดือนก่อน +1

    love you navin sir because you helped me so much through this course.Really it was helpfull to beginners

  • @arahmantv8584
    @arahmantv8584 4 หลายเดือนก่อน +2

    Weldone sir we are from Nigeria and we're always proud with u

  • @vaishanths3038
    @vaishanths3038 ปีที่แล้ว +12

    Hey, is the name of your channel refer to the world in Telugu which means "learn"? If yes, very nice name haha

    • @Telusko
      @Telusko  ปีที่แล้ว +2

      Yes, correct

  • @RealRameshBabu
    @RealRameshBabu 2 หลายเดือนก่อน

    I'm really glad that we have dark mode in IDEs, coding in light mode is very much a strain to the eyes

  • @BLAZIN77KONG
    @BLAZIN77KONG 11 หลายเดือนก่อน +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 ปีที่แล้ว +22

    Congratulations on taking your first steps into the world of Java programming! Keep up the great work!

    • @Lakansha1801
      @Lakansha1801 6 หลายเดือนก่อน

      Kis application ko download karna padhta hai

    • @Robin-50
      @Robin-50 หลายเดือนก่อน +1

      @@Lakansha1801 aapki marji hai. woh vs code ko istemaal kar rha hai

  • @hibuddy911
    @hibuddy911 ปีที่แล้ว +2

    Sir hats off for you .

  • @generalinformation1793
    @generalinformation1793 หลายเดือนก่อน +1

    Are you from Telugu states

  • @nageshb3583
    @nageshb3583 ปีที่แล้ว +5

    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.

  • @luqmanraaz4
    @luqmanraaz4 ปีที่แล้ว +24

    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 ปีที่แล้ว

      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!

  • @Manohar_85
    @Manohar_85 4 หลายเดือนก่อน +2

    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 หลายเดือนก่อน

      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

  • @madhu22984
    @madhu22984 ปีที่แล้ว +5

    Heartiest Thank you sir❤❤🥲🥲

  • @sanjaykadivendi-jo8dw
    @sanjaykadivendi-jo8dw 2 หลายเดือนก่อน

    Thank you so much sir

  • @NiharikaENneha
    @NiharikaENneha 4 วันที่ผ่านมา

    Exit command is not working in terminal as it shows error like clear command.

  • @gipsondaniel1070
    @gipsondaniel1070 ปีที่แล้ว +3

    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 3 หลายเดือนก่อน

      Go to Terminal > New Terminal > Enter "jshell" and press enter

  • @jhansipriya5006
    @jhansipriya5006 ปีที่แล้ว +3

    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 หลายเดือนก่อน

      it's a new system thats why

  • @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

  • @VÏKÅSGØWDÅ-c2v
    @VÏKÅSGØWDÅ-c2v 7 หลายเดือนก่อน +1

    sir in command prompt java version is not showing its showing only java c version
    what do sir

  • @yoganandar2806
    @yoganandar2806 9 วันที่ผ่านมา

    when i enter 'javac Hello.java' in the terminal even though the file exists it is giving an error 'File not found'. What should i do?

  • @Th3Mag1c1an
    @Th3Mag1c1an 10 หลายเดือนก่อน

    if exit doesnt work for you in Jshell try /ex or /exit

  • @iNeurons
    @iNeurons ปีที่แล้ว

    I am full fresher in Java
    What a my luck 🤞❤️

  • @NicheNi
    @NicheNi 9 หลายเดือนก่อน +1

    Kuch smj nhi aah rha… I am not getting anything in this video

  • @crazybadhrigamer2826
    @crazybadhrigamer2826 3 หลายเดือนก่อน +2

    how did you open that terminal sir.....

    • @Cyber_era
      @Cyber_era 9 วันที่ผ่านมา

      Click on 3 dots bro on the upside and they is a option terminal

  • @manikantakantamsetti1350
    @manikantakantamsetti1350 ปีที่แล้ว +3

    Sir how to open a terminal

  • @VayuEdit
    @VayuEdit 10 หลายเดือนก่อน +1

    how to open jshell

  • @likhitasharma423
    @likhitasharma423 7 หลายเดือนก่อน +1

    Why am I getting error for exit too...? 8:12

  • @ElaineSoaresAlmeida
    @ElaineSoaresAlmeida 5 หลายเดือนก่อน +2

    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 หลายเดือนก่อน +1

      How do I open that

    • @harishnaik7415
      @harishnaik7415 9 วันที่ผ่านมา

      Yeah stuck on this.

  • @AliBaluchzahi
    @AliBaluchzahi หลายเดือนก่อน

    Sir how you open new terminal on jsl...,?

  • @brokenbeats6750
    @brokenbeats6750 ปีที่แล้ว +3

    How to open jshell...??

  • @ankitalonkar5602
    @ankitalonkar5602 หลายเดือนก่อน

    I would like to install eclipse and vs code , So I am supposed to manage the JDK Kit @telus

  • @jayprakashjaiswal8220
    @jayprakashjaiswal8220 ปีที่แล้ว +2

    Sir please make new video on spring

  • @puramcharanreddy1744
    @puramcharanreddy1744 3 หลายเดือนก่อน +1

    Anna Telugu Kuda Start Chey Anna 💗

  • @LEVElUPLEGENDS-p5c
    @LEVElUPLEGENDS-p5c 6 หลายเดือนก่อน

    you can explain in simple but you can do more complicated

  • @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

  • @dimpe5038
    @dimpe5038 11 หลายเดือนก่อน +1

    te amo pelado

  • @not_really9916
    @not_really9916 4 หลายเดือนก่อน

    Hello I just start this course.When I type javac Hello.java.It does not show error.

  • @googleuser7495
    @googleuser7495 4 หลายเดือนก่อน

    on 3rd episode , 5/24/2024
    just to trace myself

  • @saralolirock6214
    @saralolirock6214 หลายเดือนก่อน

    I'm a beginner + eclipse user the difference in environment is confusing

  • @pranathireddy7995
    @pranathireddy7995 4 หลายเดือนก่อน

    10:00 You forgot to mention how to exit Jshell. Use the command /exit

  • @andreas23ds41
    @andreas23ds41 3 หลายเดือนก่อน

    At 10:06 and trying to do this step but it never works how can I do it?

  • @antonsanjay2013
    @antonsanjay2013 2 หลายเดือนก่อน

    sir why in my college they use println insted of using print

  • @nishantpatel7480
    @nishantpatel7480 ปีที่แล้ว +1

    Sir you are going to cover all the topics in java

  • @asifpatel6293
    @asifpatel6293 7 หลายเดือนก่อน

    how he increase the mouse pointer for a whice at 4:30. HOW ?

  • @soubhagyamishra3902
    @soubhagyamishra3902 ปีที่แล้ว +1

    Sir its showing package in system does not exist

    • @kaushikReddynarra
      @kaushikReddynarra 3 หลายเดือนก่อน

      S should be upper case in System.out.print(6);

  • @GabrielAddai-m6h
    @GabrielAddai-m6h 6 หลายเดือนก่อน

    Hello boss I am now downloading my setups and begin all other lessons with you

  • @Naresh-rq6oc
    @Naresh-rq6oc ปีที่แล้ว

    please add ajava project with full use of methods overriding over loading concepts and exception concepts etc..

  • @MuhammadMaaz-fg6cs
    @MuhammadMaaz-fg6cs 6 หลายเดือนก่อน

    unable to initialize device prn

  • @AntarikshRajkonwar
    @AntarikshRajkonwar 4 หลายเดือนก่อน

    12/5/24

  • @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

  • @ajinmech769
    @ajinmech769 ปีที่แล้ว

    What is the difference between Vs code and eclipse

  • @saeednawaz2694
    @saeednawaz2694 ปีที่แล้ว

    we are waiting for upcoming videos

  • @varshagowda669
    @varshagowda669 4 หลายเดือนก่อน

    Ur genius...........❤️❤️❤️

  • @gaganv8850
    @gaganv8850 ปีที่แล้ว

    Sir we want more video's on spring boot for beginner

  • @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

  • @bidhankumar8762
    @bidhankumar8762 ปีที่แล้ว

    1st view

  • @amritkashyap4740
    @amritkashyap4740 ปีที่แล้ว

    Hello sir g

  • @iNeurons
    @iNeurons ปีที่แล้ว

    Hello sir 👋

  • @yawanthyah3517
    @yawanthyah3517 ปีที่แล้ว

    Sir love u sir

  • @tutturu858
    @tutturu858 8 หลายเดือนก่อน

    How to open this terminal in 6:21

    • @045surajkumar2
      @045surajkumar2 8 หลายเดือนก่อน

      hey, want complete together?

  • @md.shabbirahmadraza9101
    @md.shabbirahmadraza9101 ปีที่แล้ว

    Great ...

  • @kaushik_herle
    @kaushik_herle ปีที่แล้ว

    Great Video

  • @alexmbani7675
    @alexmbani7675 ปีที่แล้ว

    Great teacher

  • @thehubofprogrammers
    @thehubofprogrammers ปีที่แล้ว

    👍👍👍👍

  • @Bestpests
    @Bestpests ปีที่แล้ว +1

    Sir why are you uploading java videos on PW skills

  • @Nikhil-qi4oz
    @Nikhil-qi4oz ปีที่แล้ว

    🖖

  • @rahulitsmyvlogs4016
    @rahulitsmyvlogs4016 ปีที่แล้ว

    👍

  • @pratiknaik6676
    @pratiknaik6676 ปีที่แล้ว +1

    Ham First ham first

  • @jkoushik3515
    @jkoushik3515 ปีที่แล้ว +1

    @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 ปีที่แล้ว

      Same doubt here🤔

    • @shrishtigarg4674
      @shrishtigarg4674 9 หลายเดือนก่อน

      same iI dont understand where to open jshell

    • @sureshbvrm1
      @sureshbvrm1 9 หลายเดือนก่อน

      @@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

  • @Abhishek-df5tf
    @Abhishek-df5tf หลายเดือนก่อน

    Don't use dark theme

    • @chrisgardner9743
      @chrisgardner9743 10 วันที่ผ่านมา

      Why

    • @Abhishek-df5tf
      @Abhishek-df5tf 10 วันที่ผ่านมา

      @@chrisgardner9743 white theme always good

  • @Yusuf-8055
    @Yusuf-8055 5 หลายเดือนก่อน

    Sir when I compile the code javac hello.java it is showing my PS c/ user