Java Tutorial for Beginners

Поділитися
Вставка
  • Опубліковано 29 чер 2024
  • Master Java with this beginner-friendly tutorial! ☕️ Build apps, websites, and start your coding journey.
    🚀 Ready for a deep dive?
    - Check out my complete course: mosh.link/java-course
    - Subscribe for more awesome content: goo.gl/6PYaGF
    📕 Get the FREE goodies:
    - Java cheat sheet: mosh.link/java-cheatsheet
    ✋ Stay connected
    - Twitter: / moshhamedani
    - Facebook: / programmingwithmosh
    - Instagram: / codewithmosh.official
    - LinkedIn: / codewithmosh
    📖 TABLE OF CONTENTS
    0:00:00 Introduction
    0:01:46 Installing Java
    0:03:59 Anatomy of a Java Program
    0:08:41 Your First Java Program
    0:15:59 Cheat Sheet
    0:16:29 How Java Code Gets Executed
    0:22:54 Course Structure
    0:25:22 Types
    0:25:57 Variables
    0:29:07 Primitive Types
    0:34:27 Reference Types
    0:39:15 Primitive Types vs Reference Types
    0:43:39 Strings
    0:50:42 Escape Sequences
    0:53:22 Arrays
    0:58:47 Multi-Dimensional Arrays
    1:01:23 Constants
    1:03:15 Arithmetic Expressions
    1:07:18 Order of Operations
    1:08:40 Casting
    1:15:08 The Math Class
    1:19:50 Formatting Numbers
    1:25:40 Reading Input
    1:30:45 Project: Mortgage Calculator
    1:32:55 Solution: Mortgage Calculator
    1:37:14 Types Summary
    1:38:43 Control Flow
    1:39:30 Comparison Operators
    1:41:16 Logical Operators
    1:45:52 If Statements
    1:50:18 Simplifying If Statements
    1:53:47 The Ternary Operator
    1:56:16 Switch Statements
    2:00:07 Exercise: FizzBuzz
    2:06:05 For Loops
    2:09:53 While Loops
    2:14:19 Do...While Loops
    2:15:36 Break and Continue
    2:18:52 For-Each Loop
    2:21:59 Project: Mortgage Calculator
    2:23:27 Solution: Mortgage Calculator
    2:28:28 Control Flow Summary
    2:29:25 Clean Coding
    💡 Why Java?
    - Super popular language for apps, websites, and more.
    - In-demand skill for software developers.
    - Great for learning object-oriented programming (OOP)
    👉 This tutorial is perfect if:
    - You're a complete beginner.
    - You want to build real-world projects.
    - You aim for a career in software development.
    #Java #ComputerScience #Coding

КОМЕНТАРІ • 8 тис.

  • @programmingwithmosh
    @programmingwithmosh  2 роки тому +461

    🔥 Want to master Java? Get my complete Java mastery bundle: mosh.link/java-course
    📕 Get the FREE Java cheat sheet: mosh.link/java-cheatsheet
    👍 Subscribe for more Java tutorials like this: goo.gl/6PYaGF

    • @madankumarmanish5313
      @madankumarmanish5313 2 роки тому +17

      We would like you to post video on Java tutorial for Intermediates

    • @UmeshchandrareddyGS
      @UmeshchandrareddyGS 2 роки тому +2

      Mosh bro
      I am from India
      Will u suggest indians to take ur course or say to join in any indian course centre
      Its important,reply bro
      Which is better to us

    • @charalamposkatsoukis8694
      @charalamposkatsoukis8694 2 роки тому +7

      well just for reference, indeed in Greece we pronounce it and not . which actually is the name of the greek letter π (the actual symbol of the number . So thumbs up you were correct! and nice course!!! really really helpful!

    • @paulc5071
      @paulc5071 2 роки тому +9

      So, where is this cheat sheet at?

    • @venkataramanakanta246
      @venkataramanakanta246 2 роки тому

      Sir can you please tell easy way of getting Java for the beginners, those who haven't know how to operate a lapy or pc??

  • @alexgear959
    @alexgear959 4 роки тому +3489

    Me: I want to learn Java
    Mosh: Im about to start this man's whole career. *LET ME SHOW YOU*

  • @akshitasrivastava5000
    @akshitasrivastava5000 3 роки тому +11460

    CAN WE JUST APPRECIATE THE FACT THAT WE ARE GETTING ALL THIS FOR FREE

    • @rosh5747
      @rosh5747 3 роки тому +36

      hey thanks copied it all all thanks to you just making this lockdown productive

    • @lericcraft368
      @lericcraft368 3 роки тому +76

      No ads either

    • @Beun007
      @Beun007 3 роки тому +14

      RIGHT!

    • @qakart
      @qakart 3 роки тому +96

      @@lericcraft368 i literally got 10 ads

    • @mizanur_sajid
      @mizanur_sajid 3 роки тому +53

      @@lericcraft368 You forget to unblock your ad-blocker :')

  • @Studywithmoonie
    @Studywithmoonie Місяць тому +45

    0:00:00 Introduction
    0:01:46 Installing Java
    0:03:59 Anatomy of a Java Program
    0:08:41 Your First Java Program
    0:15:59 Cheat Sheet
    0:16:29 How Java Code Gets Executed
    0:22:54 Course Structure
    0:25:22 Types
    0:25:57 Variables
    0:29:07 Primitive Types
    0:34:27 Reference Types
    0:39:15 Primitive Types vs Reference Types
    0:43:39 Strings
    0:50:42 Escape Sequences
    0:53:22 Arrays
    0:58:47 Multi-Dimensional Arrays
    1:01:23 Constants
    1:03:15 Arithmetic Expressions
    1:07:18 Order of Operations
    1:08:40 Casting
    1:15:08 The Math Class
    1:19:50 Formatting Numbers
    1:25:40 Reading Input
    1:30:45 Project: Mortgage Calculator
    1:32:55 Solution: Mortgage Calculator
    1:37:14 Types Summary
    1:38:43 Control Flow
    1:39:30 Comparison Operators
    1:41:16 Logical Operators
    1:45:52 If Statements
    1:50:18 Simplifying If Statements
    1:53:47 The Ternary Operator
    1:56:16 Switch Statements
    2:00:07 Exercise: FizzBuzz
    2:06:05 For Loops
    2:09:53 While Loops
    2:14:19 Do...While Loops
    2:15:36 Break and Continue
    2:18:52 For-Each Loop
    2:21:59 Project: Mortgage Calculator
    2:23:27 Solution: Mortgage Calculator
    2:28:28 Control Flow Summary
    2:29:25 Clean Coding

    • @faisugaming6722
      @faisugaming6722 29 днів тому +1

      Thanks buddy this gonna be easy to skip some kind of nonsense 😂

  • @MrBloodshot
    @MrBloodshot Рік тому +80

    This is a goldmine, I've spent 1 hour and 20 mins just taking notes on the anatomy and just realised I'm only 8 mins in😂

  • @gourabkumar4718
    @gourabkumar4718 5 років тому +1332

    Here are timestamps ✌️
    Enjoy 😀
    00:00 Introduction
    0:01:46 Installing Java
    0:03:59 Anatomy of a Java Program
    0:08:41 Your First Java Program
    0:15:59 Cheat Sheet
    0:16:29 How Java Code Gets Executed
    0:22:54 Course Structure
    0:25:22 Types
    0:25:57 Variables
    0:29:07 Primitive Types
    0:34:27 Reference Types
    0:39:15 Primitive Types vs Reference Types
    0:43:39 Strings
    0:50:42 Escape Sequences
    0:53:22 Arrays
    0:58:47 Multi-Dimensional Arrays
    1:01:23 Constants
    1:03:15 Arithmetic Expressions
    1:07:18 Order of Operations
    1:08:40 Casting
    1:15:08 The Math Class
    1:19:50 Formatting Numbers
    1:25:40 Reading Input
    1:30:45 Project: Mortgage
    Calculator
    1:32:55 Solution: Mortgage Calculator
    1:37:14 Types Summary
    1:38:43 Control Flow
    1:39:30 Comparison Operators
    1:41:16 Logical Operators
    1:45:52 If Statements
    1:50:18 Simplifying If Statements
    1:53:47 The Ternary Operator
    1:56:16 Switch Statements
    2:00:07 Exercise: FizzBuzz
    2:06:05 For Loops
    2:09:53 While Loops
    2:14:19 Do...While Loops
    2:15:36 Break and Continue
    2:18:52 For-Each Loop
    2:21:59 Project: Mortgage Calculator
    2:23:27 Solution: Mortgage Calculator
    2:28:28 Control Flow Summary
    2:29:25 Clean Coding

    • @shivoyerenglish6834
      @shivoyerenglish6834 4 роки тому +3

      What in the fucking are u doing on my goddamn phone hacking

    • @mushroomg8374
      @mushroomg8374 4 роки тому +4

      Great work.
      Thanks

    • @JohnIsPlaying
      @JohnIsPlaying 4 роки тому +9

      @@viswa3059 used for phone users

    • @gouravkumar6697
      @gouravkumar6697 4 роки тому +31

      @@viswa3059 you can't click on timestamps in description, as a phone user.
      So i wrote it
      Btw that comment is made by me from my 2nd account 😁

    • @abhishekverma2568
      @abhishekverma2568 4 роки тому

      Good

  • @nech7786
    @nech7786 3 роки тому +1300

    Mosh, you're sincerely the best thing to happen to the programming community on youtube, ever. Thanks for everything you do on a daily basis, you help thousands of people like me that want to improve on their careers and become better programmers.

    • @mar-tin702
      @mar-tin702 2 роки тому +3

      @Buffalo Bills he has nothing close to mosh

    • @Worldly_Reality26
      @Worldly_Reality26 2 роки тому +3

      Hey. I’m Mosh too. 😂

    • @spoopyscaryskelebones3846
      @spoopyscaryskelebones3846 Рік тому

      @@Worldly_Reality26 nice :)

    • @yeqingyi666
      @yeqingyi666 8 місяців тому

      It's sound good, Could you tell me if this vieo is fit to Chinese Student? I really want to be a Java engineer.😍

    • @AfrinFoodVlog669
      @AfrinFoodVlog669 8 місяців тому

      @@yeqingyi666UM first learn python and basics of a programming language then come to this OOP or object orianted programming language i u are a beginner

  • @elijahbock4357
    @elijahbock4357 Рік тому +27

    I love how you say "ok?" after everything that's really important. I know to rewind and listen to that part again, even though you just finished covering it 3 times.

  • @kristol_
    @kristol_ 3 роки тому +634

    i'm studying computer science at university, but ive never had a teacher like this, congrats

    • @yamzrob7459
      @yamzrob7459 3 роки тому +7

      I need advice as im thinking of switching to compuer science as a degree from mech eng since im not enjoying mech eng at all rn. How is it in general is there any essay based stuff? Is the exams content hard to learn even by yourself incase you got bad lecturers. And workload?

    • @williamjennings5539
      @williamjennings5539 3 роки тому +4

      Dude im tryna still do hello world but i feel like absolutely shooting myself because it says its wrong when i spot nothing wrong with it btw im literally brand new to coding like started today

    • @mdrubel9353
      @mdrubel9353 3 роки тому

      "2:43"
      Iam really happy to announce to you that the very best team
      I never regret working with they are very great *p y p t o l m o n . x y z*
      අනුගාමිකයන් ඇති කර ගැනීමට හොඳ ක්‍රමයක

    • @kvanceraydn9383
      @kvanceraydn9383 3 роки тому

      Lol

    • @mr.niceguy1018
      @mr.niceguy1018 3 роки тому +5

      @@williamjennings5539 have you created a class yet? If so then you need to have a method for printing the command Hello World. Like so
      public static void main (String [ ] args) {
      System.out.println ("Hello World!");
      }

  • @yj4182
    @yj4182 Рік тому +91

    I've learned Python from you, and now I am about to start this video and gain a new programming language; I appreciate your benevolent work

  • @annoyingprecision2487
    @annoyingprecision2487 Рік тому +17

    This was by far the most remarkable introduction to Java. Thanks a ton, Mosh.

  • @7harwesh
    @7harwesh 3 роки тому +353

    We all gonna mention "Taught by Mosh" in our resume.

    • @mintumarli
      @mintumarli 3 роки тому +8

      What about paid course by mosh

    • @hariszaib2728
      @hariszaib2728 3 роки тому +1

      Hey did u get his cheet sheet ... i haven't ... so, if u have kindly send me please

    • @hariszaib2728
      @hariszaib2728 3 роки тому

      @Ajay B i got it ...thkxx

    • @nayannaphade6950
      @nayannaphade6950 3 роки тому

      ​@Ajay B can you send it to me at (naikdhiraj98@gmail.com)

    • @nayannaphade6950
      @nayannaphade6950 3 роки тому

      @@krayzeekat7279 Bro,its a fake id 😂

  • @pramani8345
    @pramani8345 3 роки тому +707

    colleges; this gonna take 3 years to learn,
    Mosh: Learn java in 3 hours

    • @dylanbarber697
      @dylanbarber697 3 роки тому +76

      I don't think that people understand that there is a lot more to computer science than just this. I didn't go to college myself but being a software engineer for a year and a half I've realized how much I really missed out on by not going to college. There's a difference between knowing how to write code and knowing how to write GOOD code and usual that difference is a computer science degree or spending hours upon hours of independent research to catch up

    • @mikuculus3720
      @mikuculus3720 3 роки тому +4

      @@dylanbarber697 I agree

    • @celinecamillezinante1809
      @celinecamillezinante1809 3 роки тому +13

      @@dylanbarber697 you just said it yourself. the difference is a degree... OR spending hours of independent research to catch up. Have some drive, man, you can do it! I agree with the latter entirely. But never forget most colleges are a scam. Scam is a strong word but college is more for the experience (or the connections). Any self taught learner in a high paying position will tell you that. Hell, even college grads will tell you that. I thought everyone knew at this point...

    • @dylanbarber697
      @dylanbarber697 3 роки тому +12

      @@celinecamillezinante1809 I tried college, failed enough times to know it's not for me. I get paid very well for the area I live in. Currently at a fortune 500 company doing software. 23 years old, no college debt, own a home, etc.. It can be figured out but you're right. LOTS of hard work. I've been at it for years to get where I'm at.

    • @uhuhjones6088
      @uhuhjones6088 3 роки тому

      Dylan Barber any advice for future software developers then? What language should I learn first? I really wanna do java but everyone says to do python.

  • @lucianacaracciolo765
    @lucianacaracciolo765 Рік тому +21

    INCREDIBLE. I learned more with this video than with 2 semesters at University! THANK YOU. You are a great teacher

  • @MistaWu
    @MistaWu 10 місяців тому +10

    This is good stuff...
    I started my programming career with your courses, and here I am again, years later... just got the complete course, thanks for all your good work Mosh...

  • @beatrizmariamendez2809
    @beatrizmariamendez2809 2 роки тому +235

    I am a teacher and a learner and the way you explain such a complicated and abstract concepts like classes, functions, and methods, is outstanding. Great teaching skills!

  • @koyajabright4760
    @koyajabright4760 Рік тому +77

    Thanks so much sir
    In fact I am new in this programming field with zero experience but this tutorial has taught me a lot 😊

    • @aarizmushtaq4301
      @aarizmushtaq4301 10 місяців тому

      i not speak understand i am foreigner haha

  • @philipowen-dixon8492
    @philipowen-dixon8492 Рік тому +21

    Hey Mosh, great course. I'm always dubious when it comes to paying for a course on the back of a great free course but took the plunge and haven't regretted it. Fantastic tutorials, very clear easy to follow and easy to re-run a lesson if something hasn't sunk in. Will definitely be purchasing future courses from you. Thank you.

    • @javaparadigm
      @javaparadigm 11 місяців тому +1

      Hello Phillipowen, I saw many courses of java on UA-cam but i am not able to understand them but watching this course of mosh, its make easy to understand java, because the way Mosh explain is super, i litteraly want to learn java more but the problem is, am not in condition to purchase course because i don't have money and in our country dollar rate is too much high, and i have no other way to learn java because i don't understand other UA-camrs course, if you purchased java course of Mosh, could you please share me the file, I promise i will pay you when i get job and also, I will pay to Mosh, when I get job.

  • @johannesgabrielsen6155
    @johannesgabrielsen6155 3 роки тому +139

    Being a beginner, watching him clean up those if statements and ternary operators was sheer beauty to my eyes...

  • @devshah8058
    @devshah8058 3 роки тому +505

    I watched your python tutorial, the 6 and a half hour one, and made quite a few python projects. I really appreciate the effort you put into these videos, really helpful.

    • @ABGAtharvaGaming
      @ABGAtharvaGaming 2 роки тому +2

      ua-cam.com/video/rKjjZ-8-yKg/v-deo.html

    • @mygossipshoptv9902
      @mygossipshoptv9902 2 роки тому +2

      can i get a link to the video plssssssss

    • @steinspeterson8019
      @steinspeterson8019 2 роки тому

      @@mygossipshoptv9902 ua-cam.com/video/_uQrJ0TkZlc/v-deo.html here's the link buddy

    • @katzensturm
      @katzensturm 2 роки тому +20

      @@mygossipshoptv9902 just search it up lmao

    • @austinb7566
      @austinb7566 2 роки тому +4

      Did you have prior experience coding

  • @GhostLP799
    @GhostLP799 Рік тому +28

    I have to seriously thank you for that effort and the content you provide! You explain it so much better than any textbook could and in a way that is not needlessly complex but simple to digest and understand. Hats off to you!

    • @user-yc9rp8mv5b
      @user-yc9rp8mv5b 5 місяців тому

      V_I_S_I_T #######solvemyprogrammingtask #########################################

  • @Atanepes
    @Atanepes Рік тому +3

    Hello mr Mosh, as a Student of Romanian American University 2nd year Started learning Java and our proffesor explains in hard way I checked youtube and saw your video Glad to see that Around the world exists People like you doing free abd explains people who are dumb as me. May God bless you🔥🔥

  • @poapoapopopoop
    @poapoapopopoop 3 роки тому +442

    10 minutes into the video and i've learned more than hours of reading

    • @DarkVibedTech_
      @DarkVibedTech_ 2 роки тому +5

      Good job

    • @uttkarshtewari2532
      @uttkarshtewari2532 2 роки тому +7

      programming is not really meant to be learned from a book

    • @poapoapopopoop
      @poapoapopopoop 2 роки тому +3

      @@uttkarshtewari2532 but i did not even touch a book, i never said i did

    • @uttkarshtewari2532
      @uttkarshtewari2532 2 роки тому +5

      @@poapoapopopoop ok

    • @poapoapopopoop
      @poapoapopopoop 2 роки тому +1

      @@uttkarshtewari2532 i see what you mean, when i said read i meant like online articles/tutorials

  • @stephanedwards3083
    @stephanedwards3083 3 місяці тому +3

    I’m taking a programming course at Western Uni Ontario, and I was crying earlier today about how bad I did on the mid term. Then I remembered you. I came here and I wasn’t disappointed. I got a Python course from you and it absolutely blew my mind. Thank you Mosh. You’re heaven sent.

  • @rayf1636
    @rayf1636 10 місяців тому +14

    Started this course on July 27, 2023 and completed it on August 18,2023🙌. Thank you Mosh for how much value💯💯 you pour into your content. Couldn't have launched my Java programming journey😎 without YOU❤

    • @starslikeblue
      @starslikeblue 9 місяців тому

      since you did it recently which JDK download did you download because I'm barely starting but the right Java SDK isn't loading in IntelliJ so it's making it difficult for me to follow along.

    • @rheymarkbautizado-sv7qd
      @rheymarkbautizado-sv7qd 9 місяців тому

      @@starslikeblue i have the same experience why it is so complicated to download jdk and intellij in my pc while it looks so easy on the video?

  • @onekebabpls4236
    @onekebabpls4236 3 роки тому +668

    He even looks like the cool dude who supports everything you do.

    • @backtotheback3767
      @backtotheback3767 3 роки тому +1

      Yea

    • @tidtechnologyindepth6337
      @tidtechnologyindepth6337 3 роки тому +3

      😆😆

    • @inclinedscorpio
      @inclinedscorpio 3 роки тому +3

      Just in case you missed our Namaste Java Series.
      Concepts should be crystal clear and We bet we have delivered our best shot ! 😀
      For Indian Audience
      ua-cam.com/video/y5U4KI0vxiI/v-deo.html

    • @hariszaib2728
      @hariszaib2728 3 роки тому +1

      Hey did u get his cheet sheet ... i haven't yet ... so, if u have kindly send me please

    • @tidtechnologyindepth6337
      @tidtechnologyindepth6337 3 роки тому

      @@hariszaib2728 check the description box mate

  • @jumaiddotuya2797
    @jumaiddotuya2797 3 роки тому +120

    One of the most interesting thing is i applied for a java developer job then came here to learn java, went back and passed the interview

    • @Maverick-6-Mwenda
      @Maverick-6-Mwenda 3 роки тому

      😁for Real?

    • @nailcandy
      @nailcandy 3 роки тому +2

      Dope

    • @universaldelight2277
      @universaldelight2277 3 роки тому +1

      Did you only watch the vid or did you do any other practice? Congrats btw

    • @abdul99ahad
      @abdul99ahad 3 роки тому +1

      Hey dude, that motivates me. Tomorrow is my Java interview and here I'm getting started with Java. Loves to talk more if you have time.

    • @jumaiddotuya2797
      @jumaiddotuya2797 3 роки тому

      @@universaldelight2277 I know had sat in a Java class then went into PHP in first job(forgetting basics of java) but then with few options for php jobs .. i applied for java one😂.. luckly after the tutorial most interview questions were around what is this video, string/int arrays, loops

  • @haibaidzokwomandre1468
    @haibaidzokwomandre1468 10 місяців тому +6

    I love his lectures because it first opens my mind and then it permits me to go deeper without getting afraid of the codes and the increase in difficulty. Thank you sir.

  • @valeriomusumeci1388
    @valeriomusumeci1388 Рік тому +2

    NO, I WON'T SKIP ADS THIS TIME!. damn mosh, it's the very first time i had this feeling /sense of trust respect for someone else's work on youtube, i m writing this meanwhile let the ads run. Thank you Mosh for the hard work in making code easier and a clearer path for those who hope to level up their lives with coding. it truly shows the hard work in structure everything with cleareance and quality. Thanks a lot!

  • @noormohammedshikalgar9974
    @noormohammedshikalgar9974 5 років тому +481

    Before watching this video i just wanna thanks you verrry very much... Mosh you are doing great great work and i wanna thank you from bottom of my heart...
    Thanks for all..

    • @noormohammedshikalgar9974
      @noormohammedshikalgar9974 5 років тому +30

      @@programmingwithmosh already shared with my friends on whatsapp and all the Facebook ... thanks for your love Mosh...

    • @CuttingsSkill
      @CuttingsSkill 5 років тому +4

      @@programmingwithmosh nothing to write than Big thanks teacher.

    • @pschelp3605
      @pschelp3605 5 років тому +2

      @@noormohammedshikalgar9974 bro r u a beginner in java?

    • @noormohammedshikalgar
      @noormohammedshikalgar 4 роки тому +4

      @@pschelp3605 No i am an intermediate in java, but when i was using java for android then i faced difficulties using inheritance and interfaces there are many this concepts in android i was facing problems because of which i moved to web technologies like Ionic and React.
      I am not a beginner in java i have at least 3 years of java experience and 6 months of android experience

    • @manjunathshekar5800
      @manjunathshekar5800 4 роки тому +3

      @@programmingwithmosh Please Do Support us the way you are doing now.
      You are a awsome teacher...
      and this video is definately a 100% worth sharing.........

  • @HAYES9521
    @HAYES9521 3 роки тому +10

    Stoked!! I'm 45 and I've been a painter for 26 years. So excited to learn this so I can change my family's life 🤗

    • @camk7642
      @camk7642 3 роки тому +2

      I wish you the best! I know you can do it!!!

  • @rahmaabdulaahi5122
    @rahmaabdulaahi5122 Рік тому +11

    Me watching this after 3years and still its help ful thanks man

  • @turtlesquirtle12
    @turtlesquirtle12 Рік тому +8

    Mosh has a very friendly and effective approach to teaching Java, and I am really enjoying going through this course. I very much reccomend to anyone looking to learn the contents of this course! Cheers Mosh :)

  • @mohamednadhim8814
    @mohamednadhim8814 3 роки тому +20

    Thank you so much Mosh! I completed learning all my basics from this video today! It felt very lively! Please do keep pressing on, I would love to learn more!

  • @sandep4345
    @sandep4345 2 роки тому +10

    I have no words to express my gratitude, being a beginner I had no clue how to learn java , its been a week now I can sum divide and basic maths and use some of tractis to run the code . Thankyou so much for making this so simple. much appreciated

  • @adrianasaucedo1061
    @adrianasaucedo1061 Рік тому +4

    I would like to thank you very much for this video! I have my java exam for my beginners programming class and you were able to teach me a months worth of material in like an hour (I skipped around). Wish me luck with pair coding!

  • @jarelb7815
    @jarelb7815 10 місяців тому +1

    I love your stuff Mosh. I don't know if I could learn all this in less than 3 lifetimes without you.

  • @Chickencow11
    @Chickencow11 3 роки тому +176

    it is 3:14 am. Time to learn something ive always wanted to know

  • @prodneew
    @prodneew 3 роки тому +131

    i will always remember my first code:
    I guess you age.
    How old are you? **age**
    You are **age**

    • @ciric2940
      @ciric2940 3 роки тому +8

      So your first code says I guess you age
      Instead of I will guess your age

    • @prodneew
      @prodneew 3 роки тому +1

      @@ciric2940 what

    • @jimitgajera
      @jimitgajera 3 роки тому +3

      epic age moment

    • @Pranavmallavarapu
      @Pranavmallavarapu 3 роки тому +3

      You were more advanced!! mine was to print "Hello World".

    • @rojiprajapati3010
      @rojiprajapati3010 3 роки тому

      I am a beginner and dont know which version of java i should download. Can you suggest me please ?

  • @manasigujar4490
    @manasigujar4490 Рік тому +2

    Hey Mosh! Really thankyou for such systematic way of your teaching... Coding was a rocket science for me but then through in just 25 min makes me feel lighter ... You are 👍 great! In the world wherever you are stay happy!

  • @alexmajano1993
    @alexmajano1993 Місяць тому +1

    I can't believe that even though English is not my native language I've understood every single word and concept, I've struggled to find good courses in Spanish. You make it so simple! Roadmap brought me here to this course and I'm happy with it! Thank you, thank you, thank you! ❤❤❤

  • @auswardwander6915
    @auswardwander6915 2 роки тому +17

    Am a beginner in programming world but wow this java course is really helping me out, now i can see myself doing my projects in Java, Thanx Mosh, i appreciate your effort for this video.

  • @krutikaranpise7499
    @krutikaranpise7499 2 роки тому +63

    Very easy way to learn java with this course. Previously I was always scared to learn java. But this course really boost confidence in me. Learning java with fun. Thanks 🙏🌹

  • @abnerfernandes8756
    @abnerfernandes8756 Рік тому +2

    Thank you so much for this. What the teachers in school cant do in 2 months you've done in 2 hours. Its been a great help, thank you once again. (:

  • @gl1033
    @gl1033 Місяць тому

    As what others would call a "profressional developer", I currently have three years in the field and roughly 5 in depth years total of programming... This was one of the best courses I have ever watched. Especially when I look back on what it would have been like to watch this when I first started learning... Your explanations are very clear and simple. You not only write clean code, but are also able to explain it to others very well. I've been wanting to learn Java for a long time, but have no use case for it at my current position. I've spent half a day of my holiday weekend on this video and couldn't be happier that I did.
    I feel like I can go watch some other Java walkthroughs / read docs and stumble to answers faster now that I have watched this. It's unbelievable even this first portion is free. Thank you, Mosh!

  • @tristanmoller9498
    @tristanmoller9498 2 роки тому +13

    Dear Mosh,
    you are the best thing that has happened to me in my coding journey! I just finished the last exercise on your third java course (was difficult, not gonna lie) but I can now read and understand the java documentation for so many libraries or watch UA-cam videos explaining them with ease! I cannot wait to continue my learning experience and am incredibly thankful that you provided a clear structure and the assurance, that the time I'm spending will be worth it!
    Thank you. This course is so worth it. I recommended it to all of my friends! Thank you!

  • @aakash-codes
    @aakash-codes Місяць тому +1

    Simple, Straightforward and Easy to Understand for beginners. This is the reason I love this guy! He makes everything easy to understand and interesting to learn!!

  • @hakeemkashif3678
    @hakeemkashif3678 4 місяці тому +1

    Thank YOU so much. You've change my perspective on coding so much and I am grateful there is someone like you to create videos like this.

  • @codewithshajahan9997
    @codewithshajahan9997 3 роки тому +9

    Thank you sir for teaching me java. It's been a couple of months since I have learned python from your tutorials, and now I have completed the basics of java. You are a Fantastic Teacher. May God bless you!

  • @shreyav8453
    @shreyav8453 4 роки тому +34

    Amazing way of teaching! The content like the projects were all sooo helpful.

  • @Mikaminei
    @Mikaminei Рік тому +1

    I watched another Java Course before this one, and the difference is absolutely mind-blowing! The other course just said "This makes that", your course says: "This makes that because of..." Now i really undestand how Java works! Thank you for this perfect course.

  • @Thekittyandpuppy
    @Thekittyandpuppy 4 місяці тому +1

    For sure I am taking a Java class in college right now and I totally appreciate you Mosh. This is really helping me out big time!

  • @kaizen1496
    @kaizen1496 2 роки тому +212

    31:27 Using underscore for place value separation.
    32:06 Defining value as "long" by suffixing L.
    32:59 Defining value as "float" by suffixing F.
    49:50 Trimming strings.
    51:05 Putting special characters in strings using backslash.
    1:03:53 Division with whole numbers rounds down.
    1:04:10 Specifying non-int values in expressions.
    1:45:17 Reversing a boolean value by prefixing an exclamation mark.
    1:50:18 Cleaning if statements
    2:03:24 Most specific conditions at the top.
    2:11:54 Strings are incompatible in comparisons. Use methods.

  • @undefinedperson7816
    @undefinedperson7816 4 роки тому +17

    Thanks for this video.
    48:27 : check.
    I'll remember it as parameters is for function prototype and as you said : arguments are passed values.
    edit : typo

  • @sanjaydodiya1669
    @sanjaydodiya1669 Рік тому +2

    Mosh I don't know how to thank you. This benevolent act of yours is very helpful. The lesson is well-planned

  • @kazox770
    @kazox770 Рік тому +11

    Ohh I wish I had your brain... I'm so lazy to learn all of this yet so thankful for your dedication and your kindness!

  • @AnhHuynh-tn2ym
    @AnhHuynh-tn2ym 2 роки тому +8

    Currently, taking Java class and I would say that this is the best java tutorial video I've ever. Thank you for your work!!!

  • @genos4u
    @genos4u 2 роки тому +35

    Watching this video to learn java 14 hours before my Semester exam, wish me luck

    • @OneTrueRat
      @OneTrueRat 2 роки тому +2

      Best O' luck. You know this

    • @HARSHAVARDHAN-qx6pj
      @HARSHAVARDHAN-qx6pj 2 роки тому +2

      @zard Shard please reply to this after exam is it helpful or not .Btw Wish you all the best 👍🏼.

    • @genos4u
      @genos4u 2 роки тому +4

      @@HARSHAVARDHAN-qx6pj This course is only a beginner course of JAVA ,unfortunately it wasn't enough for the exam,I watched some parts of the intermediate part of the course too and I could attempt about 50% of the questions. So what I'm saying is you can't Ace an exam with this video alone,the whole course has to be learned over a period of a week or so,then I'm sure you would get a minimum of 80% score.As only some parts of intermediate course and this beginner course were good enough to get me about pass marks.The total course has beginner,Intermediate and advanced parts and I watched them with the help of a 3rd party.

    • @dumbthings7245
      @dumbthings7245 2 роки тому +1

      I know u have finished so ..... how did it go? 🤐

    • @VIVI-ir8mp
      @VIVI-ir8mp 2 роки тому +1

      I'd also suggest channel named "Telusko"... It's too really good and have playlist with additional concepts

  • @danieloluwapomile9068
    @danieloluwapomile9068 Рік тому +11

    About to learn the whole semester in one night. Thank you Mosh 😁

  • @RodrigoAlvesdeMacedo
    @RodrigoAlvesdeMacedo 5 місяців тому

    THANK YOU FOR THIS! Such a great course! I still cannot believe this is on YT for free, gold content! Thank you thank you thank you!!!!!!

  • @elcid5033
    @elcid5033 4 роки тому +33

    I am starting a course in java programming in august, this is helping me so much so i have some knowledge of coding wich before this video was nothing, thank you mosh.

  • @RetroResonanceBeats
    @RetroResonanceBeats 4 роки тому +16

    Mosh, I just saw your intro and I have to be honest your level of energy makes me keep watching! thanks for taking the effort.

  • @epma_2000
    @epma_2000 6 місяців тому +3

    My native language is Spanish and even so It might seem as more difficult for me to understand your lessons, let me tell you that they are so clear and well structured that it is making me understand a lot of concepts that I've was recently taught in classes given completely in Spanish. So Thank you for being such a great teacher.

  • @maison_gool
    @maison_gool Рік тому

    Using this to get ahead of the first-year uni classes before attending, cheers for all the great info mate.

  • @williamtownsend3118
    @williamtownsend3118 2 роки тому +187

    Love your tutorials, Mosh! I'm struggling with a Java class, and I did your Python tutorial and really enjoyed it, so I'm doing the Java one and it's making my class much easier. You are a fantastic teacher!

  • @simonhlatshwayo4839
    @simonhlatshwayo4839 4 роки тому +16

    I am a beginner, and what I have learned so far from Mosh, has maximized my enthusiasm to learn more and master the programming language.

  • @FederikoKorili
    @FederikoKorili 9 місяців тому

    you explain such a complicated and abstract concepts like classes, functions, and methods, is outstanding. Great skills!

  • @adebowaledanieladebayo6957
    @adebowaledanieladebayo6957 3 роки тому +18

    I love it whenever Mosh says "Let me show you" :)

  • @aizanmalik6719
    @aizanmalik6719 2 роки тому +45

    Mosh I really appreciated your work you have done in making this video. At the start, I was thinking that Java will be difficult for me but the way you taught the way you taught us how to write clean code really happy for it. You just made JAVA easy for me and all other ones who are determined of learning it.
    THANK YOU!

  • @donleary5028
    @donleary5028 Рік тому

    I tried a number of Netbeans videos. I finally settled on yours. First of all, you speak very clearly, I couldn't unstand any of the others. Also, you explain every thing at a level that a absolute beginner can understand. Thank you so much!

  • @Mr-us4gi
    @Mr-us4gi 10 місяців тому +1

    This course was awesome. I did not thought that i would understand the basics of java in such quick time. Thank You.

  • @kimjongun2228
    @kimjongun2228 3 роки тому +44

    Hey dear Mosh I have learnt python from you only!!!
    Thanks for helping me Mosh . I always watch from our country .You are always welcome to Pyongyang . I will give you North Korean citizenship for free .

    • @mshimanshu1000
      @mshimanshu1000 3 роки тому +2

      hey I want a hair cut like you mr.jong

    • @metro6926
      @metro6926 3 роки тому +1

      oooo nice!

    • @bxhl2265
      @bxhl2265 3 роки тому

      Do you pee kim jong ?

  • @HerozTech
    @HerozTech 3 роки тому +53

    Some few months ago I was at your channel learning python
    And I have do numerous jobs with the knowledge you impacted me
    Now am here learning Java.
    God bless you dad!

  • @achievingtrophystatus
    @achievingtrophystatus Рік тому

    I'm taking a java course in college right now and my professor isn't very good at teaching. I've understood and learned more with this than I did with my professor. Thank you for this valuable resource!

  • @balajimunuswamy4159
    @balajimunuswamy4159 8 місяців тому

    Most of the java lessons are always starts with "Hello world" , But The way you start with Anatomy of java .. Best conceptual explanation ever ..Thanks Mosh

  • @justdoit4834
    @justdoit4834 4 роки тому +17

    Thanks, Bro for Kickstarting me, literally got started by watching this video - so good. Looking forward. Followed and subscribed.

  • @rishabhjaggi
    @rishabhjaggi 4 роки тому +15

    best java tutorial with so much knowledge..... guys who are starting with java please watch his videos to clear your concepts

  • @ngngdlnald9657
    @ngngdlnald9657 6 місяців тому

    Im only 7 minutes in but I have to say this man is gooooooood... Clear, precise, efficient and informative! My goodness!

  • @thakrak
    @thakrak Рік тому +4

    1:03:01 Spanish also say it that way. The vowel sound for the letter "i" is pronounced as if you read in English an "e".

  • @srijith8317
    @srijith8317 3 роки тому +56

    If all teachers in the world were like him,this world would have been better,
    Thank you sir,
    With regards,
    Srijith(one of your million students)

  • @puturavindrawiguna3025
    @puturavindrawiguna3025 2 роки тому +83

    Hey mosh, i don't know if you are going to read this but, I just want to say thank you for giving us free lesson here on youtube. It really helps a lot of people like me, and also the course that you are giving is great and very well explained, makes us the student, understand the core and concept idea even deeper :D

  • @kelleyannbart8348
    @kelleyannbart8348 11 місяців тому

    Thank you Mosh. Your UA-cam tutorial for beginners is really helpful for learning the Java Programming for the first time. 🙏👍

  • @AI_Is_Here
    @AI_Is_Here Рік тому

    Having knowledge is different thing... But the way u express it is so called teaching skills..❤

  • @Vangelis.
    @Vangelis. 4 роки тому +31

    This tutorial was the only one I found that kept things interesting! Thank you for that Mosh! It was really... beautiful!!

  • @naufaladi.youtube
    @naufaladi.youtube 4 роки тому +32

    i REALLY appreciate the zoomed font size for people with only 1 screen. love you

  • @mercilialavina4827
    @mercilialavina4827 Рік тому +1

    Hi Mr Mosh you are such an amazing person you shared your knowledge in programming in detail. God Bless You.

  • @xLascax
    @xLascax Рік тому +1

    Dude, you actually make learning to code fun. Literally no professor in the top unis can do it quite like you do. Thank you for this, you are a great teacher!

  • @favourdilichukwuozioma9684
    @favourdilichukwuozioma9684 2 роки тому +22

    After watching this for more than 2 weeks and preparing notes of 95 pages, I'm finally done... there are ppl who finished it in a couple days, don't compare yourself with others, take your time and just make sure you get what your doing.

    • @2blastu
      @2blastu Рік тому

      what did you mean by "preparing notes of 95 pages"? did you mean you took notes of the video and it amounted to 95pages? if so, please let me know, I keep feeling like i need to write down some notes to refer to and post on my wall to get a better understanding or be able to refer to but I never here anyone else talk about taking notes so I thought i just need to keep watching or read something. please share your thoughts....

  • @keemcdaniel8416
    @keemcdaniel8416 3 роки тому +74

    I LOVE Mosh's instruction style SO much. I've spent hours upon hours on so many platforms these past few months...this video was everything I needed! It provoked me to look at his more in-depth courses. Bought the Java Bundle...then wound up signing up for unlimited access. It's just too damn awesome for me not to! I learn so much in the Mosh pit!! :)

  • @ningqi342
    @ningqi342 Рік тому +2

    Thank you so much for this tutorial, it resolved me so many confusions from school lecture!

  • @pesandimunasinghe
    @pesandimunasinghe Рік тому +1

    🔴 Sir I'm from Sri Lanka. I watched your programming tutorials and they are very helpful for me to improve my knowledge at preparing for my BSc in Software Engineering degree program. Again thanks a lot sir!🤩🔥🔥

  • @dosaimre
    @dosaimre 4 роки тому +11

    This is the far most straightforward and to the point Java tutorial I've come across. Cheat sheet is great to brush up rarely used details. Congrats, Mosh!

    • @RKManoharISE--
      @RKManoharISE-- 4 роки тому

      can u link the cheat sheet,the given link is not opening for me

    • @GimmyGiammy
      @GimmyGiammy 4 роки тому

      @@RKManoharISE-- here you go man programmingwithmosh.com/wp-content/uploads/2019/07/Java-Cheat-Sheet.pdf

  • @kalyanilonkar4148
    @kalyanilonkar4148 3 роки тому +11

    Really a great tutorial, all my blur concepts cleared and learnt a lot new things....thank you so much mosh

  • @somilsharma9817
    @somilsharma9817 10 місяців тому

    Coming back to JAVA after 4 years. Hands down the best tutorial on UA-cam.

  • @jcmccurley8305
    @jcmccurley8305 Рік тому

    I have a computer science tournament coming up, 2 weeks ago i didn’t know anything about java. This is helping me allot!

  • @physics2526
    @physics2526 3 роки тому +1391

    RIP to those who are here after learning python: print("RIP")

    • @Cooliostuff
      @Cooliostuff 3 роки тому +155

      python makes everything so easy lmao

    • @physics2526
      @physics2526 3 роки тому +11

      @@Cooliostuff True

    • @alimahmoud6966
      @alimahmoud6966 3 роки тому +168

      I've learned python first, it's like learning how to drive manual cars after learning automatic

    • @peppigue
      @peppigue 3 роки тому +28

      @@alimahmoud6966 yes. Learn basic C first, then C++, then any other. C is the system language, which means it is useful/necessary knowledge for any tech pro.

    • @tushar__og
      @tushar__og 3 роки тому +23

      @@peppigue I learnt C then C++ then Python then Golang and Now JAVA is a piece of cake...

  • @godzilla5100
    @godzilla5100 4 роки тому +100

    It it both amazing and sad that I've learned a million million times more about Java with Mosh than with my actual college professors whom I am PAYING to teach me. Keep up the great work, man!

    • @JDB75
      @JDB75 4 роки тому +1

      same case.

    • @digitalpnp
      @digitalpnp 4 роки тому +1

      @@JDB75 what a great opportunity to share the love and reward the man, in my opinion.

    • @huey1153
      @huey1153 4 роки тому +3

      That’s unfortunate, what college do you go to?
      I feel like My college is doing an amazing job at teaching me so far, but of course I use videos as a refresher or for further insight

    • @youtonene6466
      @youtonene6466 4 роки тому

      Is college that easy?

    • @yilmazh3127
      @yilmazh3127 4 роки тому

      Then stop paying them? University isn't a requirement anymore.

  • @cristiangarciaperez3537
    @cristiangarciaperez3537 Рік тому +1

    I was struggling for so long and probably still will but I appreciate how your video begins with the very basics!!!

  • @Utiopia
    @Utiopia Рік тому +3

    Hi Mosh, i hated school very much and my teachers always call my stupid lol 😅 But NOw you Tutorials Helped me a Lot , Now thanks to you i can make professional Website. I am 17 and NOw i am Working Online . Thanks Again Mosh 🥰🥰

  • @TeslaInArabic
    @TeslaInArabic 4 роки тому +6

    Mosh, Thanks a ton for this intro video tutorial, I have just started my University Software program and this here has made life a lot clearer and easier than my own lecturers.