🔥 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
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
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!
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.
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.
@@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
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?
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
"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* අනුගාමිකයන් ඇති කර ගැනීමට හොඳ ක්රමයක
@@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!"); }
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.
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.
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!
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❤
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.
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.
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! ❤❤❤
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!!
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..
@@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
@@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.........
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.
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🔥🔥
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!
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...
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
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 🙏🌹
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!
Mosh, thank you so much for giving an explanation for just about every word that you type, whether it be short and sweet to be elaborated upon at a later time, or an in depth explanation from the start. I get so tired of when teachers tell me to write a ton code only to say "Don't worry about this line of code, I'll explain later", or never explain it at all. It's so frustrating since the way I learn and conceptualize is by understanding why I'm typing something.
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.
@@1999ToyotaSupra burh visit the llink that mosh has provided ,follow the procdure and then go check ur spam box in gmail... if it doesnt happen than gimme me ur email i send u there....
@@ajv6026 burh visit the llink that mosh has provided ,follow the procdure and then go check ur spam box in gmail... if it doesnt happen than gimme me ur email i send u there.
At 34:27 for reference types,their's no need to put (x:1,y:1) we can directly add(1,1)(must be new update) hope this helps Same with 49:49 in the replace function of Strings Thanks!
I started the Java Tutorial for beginners 2020. Im having trouble with first part 16:29. When I do ( $javac Main.java) I get a ( zsh. command not found ) I even tried using %. I using a M1 Macbook pro. I not sure what going on can any one help me
I can be quite impatient and easily get bored watching tutorials, but not with these ones! There's just something about the tempo and Mosh's voice that keeps me focused :)
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.
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!
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!
I’d failed Java once in college a few years ago, and I’ve been procrastinating getting started on my current Java project for my current degree program. You have taught me more in 45 minutes (so far, looking forward to finishing the video!) than I’ve been able to learn up to this point otherwise (my mind rails against reading a textbook, to my chagrin). Thank you so much for putting this together. What an absolutely wonderfully made tutorial!
I know this might sound weird but I learned java easily by solving math problems. I learned a lot about functions and different data structures by doing different math problems. But I know math isn’t for everyone so just find a problem you are interested in and try solving it using Java. That’s the best way to learn it imo.
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
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.
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 .
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!
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!
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!
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!
This is a fantastic tutorial! It's straightforward, It's descriptive, It's informative, and It's helpful! Before this, I'd always thought that java and basically any programing language required a university course to learn it properly. But after watching this I now know that literally anyone who has a laptop can do it! using this single turtorial I managed to build a currency converter calculator. The best part is this is all free! Mosh is an amazing person, programmer, and youtuber.
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.
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.
2:03:39 I just used if it is divisible by 15. Why? Because: if some n is divisible by 3 n = 3k (k is an integer) if some n is divisible by 5 n = 5j (j is an integer) So if it is divisible by both: n = 3(5j) = 15j ==> it is divisible by 15.
@Hydra Flow its the proportionality or fractional equivalence rule. If you put any integer in the place of k it will be divisible by 3. Also the same with j.
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
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!
Have not started learning, this will be my first attempt ever and I haven't even watched the video but the comments soothed all the anxieties I had. I'm so excited!
Hi, Mosh! First, thank you for all the time you invested in this. Second, everything is so different from 2019 to now, and also from Mac to Windows, that you may consider re-editing the video. I've lost one hour just trying to get to "So this is our first java app" (or something like that), at 11:45, and I absolutely cannot get it, only a blank screen. So frustrating... Anyway, thanks!
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.
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
*10 to 15 mins for the Mortgage Calculator, took me just under an hour lol. Really easy to follow what you are doing for a noobie like myself, much appricated!!
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
This is a great course for me to use to help my students. I received an email to get the rest of the course for $29 and when I click on the link it costs $49.
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!
I enjoyed and needed this so much, I immediately enrolled in your course for all your other levels in this. Learnt more in 25 mins than I did in 3 years for my degree.
@@clicktodhruv no, uni really doesnt give you everything, they expect u to know the basics already, they teach stuff like algo etc and the rest you gotta go learn on your own cause they really don't teach practical stuff or how to use what you've learned in practice
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!! :)
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!
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
Mosh, you are one of the best instructor on internet today, especially when in comes to make complex things super easy by graphics. Keep it up ! Thanks millions !!
edit(this is the first mortgage project) I did the project code like this and used the example on wikHow to check my code import java.util.Scanner; public class MortgageCalc { public static void main(String[] args) {
Scanner input = new Scanner(System.in); System.out.println("Enter your principal: "); double principal = input.nextDouble(); System.out.println("Enter your interst rate: "); double Interst_Rate = input.nextDouble() / 1000; System.out.println("Enter the number of payments: "); double payments = input.nextDouble();
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!
just scratched Java after spending heavily on C++. What I can say is syntactillay both are very similar, but Java is way easier than C++ with automatic memory management. Anyways looking forward to learn what Java brings to the table which both python and C++ can not. Thx for the amazing tutorial.
@@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
2:21:11 While we iterate arrays from the end to the beginning here, an exception will occur Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3 This is because array indices in Java are zero-based, meaning they start at 0 and go up to length - 1. In the given loop, we're starting from fruits.length, which is out of bounds for our array. So it can be corrected as: for(int i = fruits.length - 1; i >= 0; i--)
Subhendu fixed error, because Mosh done a mistake there. (fruits' last element has fruits.length -1 (because arrays are 0-based)) Actually, you should write those loops like: for(int i=fruits.length -1; i >=0; i--) System.out.println(fruits[i]);
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
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.
🔥 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
We would like you to post video on Java tutorial for Intermediates
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
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!
So, where is this cheat sheet at?
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??
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
What in the fucking are u doing on my goddamn phone hacking
Great work.
Thanks
@@viswa3059 used for phone users
@@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 😁
Good
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
Thanks buddy this gonna be easy to skip some kind of nonsense 😂
Thank you
bruh already in the desc
谢谢兄弟,真的是好高兴!
thank you legend
CAN WE JUST APPRECIATE THE FACT THAT WE ARE GETTING ALL THIS FOR FREE
hey thanks copied it all all thanks to you just making this lockdown productive
No ads either
RIGHT!
@@lericcraft368 i literally got 10 ads
@@lericcraft368 You forget to unblock your ad-blocker :')
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.
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.
@Buffalo Bills he has nothing close to mosh
Hey. I’m Mosh too. 😂
@@Worldly_Reality26 nice :)
It's sound good, Could you tell me if this vieo is fit to Chinese Student? I really want to be a Java engineer.😍
@@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
Me: I want to learn Java
Mosh: Im about to start this man's whole career. *LET ME SHOW YOU*
:DDDDDDD
Lmao😂
àccurate
Bro it going to be end of java soon
Try any other language to make it worth
@@Sm_DevOps why?
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
thank you @Steffany
Thanks
Steffany Roa why bother copying and pasting in what Mosh has done for you 😂😂😂🤣😂🤣😂🤣
@@Kindle_3 mobile users cant click timestamps in the description
nateachino they can
i'm studying computer science at university, but ive never had a teacher like this, congrats
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?
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
"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*
අනුගාමිකයන් ඇති කර ගැනීමට හොඳ ක්රමයක
Lol
@@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!");
}
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.
mark
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.
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!
Who?
@@PH_Value what ?
@@rishirajsaikia1323 Asked
@@PH_Value that
he is good about java[jdk/jre]
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❤
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.
@@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?
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
Good work bro
This should be pinned at the top
you just.... copied from the description didn’t you?
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
Hy
same😀😀😀
This isn't even 1 % of Java
So" Gain a new programming language" 😂😂
same
same 🙂
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.
ua-cam.com/video/rKjjZ-8-yKg/v-deo.html
can i get a link to the video plssssssss
@@mygossipshoptv9902 ua-cam.com/video/_uQrJ0TkZlc/v-deo.html here's the link buddy
@@mygossipshoptv9902 just search it up lmao
Did you have prior experience coding
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! ❤❤❤
Being a beginner, watching him clean up those if statements and ternary operators was sheer beauty to my eyes...
ua-cam.com/video/Z44MkSF6ejc/v-deo.html
yes its good for new commers.
lol
As a beginner, I understand nothing. This video is far advanced to be titled "for beginners"
@@BanellaRgyou are dumb buddy nothing else 😅
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😂
😂
and he says each course can be completed in a day or two. Are you kidding me?
best java tutorial with so much knowledge..... guys who are starting with java please watch his videos to clear your concepts
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.
INCREDIBLE. I learned more with this video than with 2 semesters at University! THANK YOU. You are a great teacher
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!!
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 🤗
I wish you the best! I know you can do it!!!
Hi sir how did it go
How is the progress?
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..
@@programmingwithmosh already shared with my friends on whatsapp and all the Facebook ... thanks for your love Mosh...
@@programmingwithmosh nothing to write than Big thanks teacher.
@@noormohammedshikalgar9974 bro r u a beginner in java?
@@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
@@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.........
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.
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🔥🔥
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!
ua-cam.com/video/67uhPE6DNYU/v-deo.html
Currently, taking Java class and I would say that this is the best java tutorial video I've ever. Thank you for your work!!!
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...
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
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)
Exactly
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 🙏🌹
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!
Mosh, thank you so much for giving an explanation for just about every word that you type, whether it be short and sweet to be elaborated upon at a later time, or an in depth explanation from the start. I get so tired of when teachers tell me to write a ton code only to say "Don't worry about this line of code, I'll explain later", or never explain it at all. It's so frustrating since the way I learn and conceptualize is by understanding why I'm typing something.
Agree! His teaching is so efficient and easy to follow
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.
i just wanna say THANK YOU, you are giving us this for free, you are the BEST
Hey did u get his cheet sheet ... i haven't yet ... so, if u have kindly send me please
@@hariszaib2728 please send me also...
@@hariszaib2728 let me get his cheat sheet too please! Can you kindly private message me it good sir.
@@1999ToyotaSupra burh visit the llink that mosh has provided ,follow the procdure and then go check ur spam box in gmail... if it doesnt happen than gimme me ur email i send u there....
@@ajv6026
burh visit the llink that mosh has provided ,follow the procdure and then go check ur spam box in gmail... if it doesnt happen than gimme me ur email i send u there.
This was by far the most remarkable introduction to Java. Thanks a ton, Mosh.
Hello!
Sir, I'm from Pakistan
I've to say congratulations on being the best programming guru, you really deserve it Sir
At 34:27 for reference types,their's no need to put (x:1,y:1) we can directly add(1,1)(must be new update)
hope this helps
Same with 49:49 in the replace function of Strings
Thanks!
I was getting errors there and couldn't figure out why, thank you so much!
The x: and y: are automatically added as reference to which variable (cannot be edited or change)
I mean it's an IDE feature. He did not add x: and y: but the IDE just reference the variable.
I started the Java Tutorial for beginners 2020. Im having trouble with first part 16:29. When I do ( $javac Main.java) I get a ( zsh. command not found ) I even tried using %. I using a M1 Macbook pro. I not sure what going on can any one help me
dude i really needed this ! tysm man . Got an error coz i was tryna put x n y myself . lololol
About to learn the whole semester in one night. Thank you Mosh 😁
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
Bro the video already has chapters
Thank You Bro!
this mf just copied and pasted the description 💀💀💀💀
@Laserdog , I just copied and pasted 🤣💀
it is written in the description. why paste here? You like to get a lot of likes?
I wish I may got your channel earlier in my life. Couldn't imagine that java can be taught so easily after having lectures in my university classes!
yes itoo, from Brasil. Brasiliense.
@@kelsonrotta7310 from Bangladesh, neighbour of India
I can be quite impatient and easily get bored watching tutorials, but not with these ones! There's just something about the tempo and Mosh's voice that keeps me focused :)
I finished this video after that what video I should go any one help
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.
I am Watching all the 2 mins ads just to reward his brilliant work . You just make it simple for me Thanks..
Watching the whole ads don't actually do Anything, you're just wasting time lol
@@macro9323 yeah it does it supports the creater the more you watch an ad
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!
can u link the cheat sheet,the given link is not opening for me
@@RKManoharISE-- here you go man programmingwithmosh.com/wp-content/uploads/2019/07/Java-Cheat-Sheet.pdf
I have learned more than hours of reading and programming.. Thank you Mosh
me i installed java for mods and optifine for my minecraft java edition but let me learn more about it
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!
I really feel bad because i'm on my first year in IT and still don't know how to code thanks for this i'll try to learn as much as i can.
I started learning how to code my freshman year, it was confusing at the beginning and it got easier towards the end.
I'm final year cse even I to don't know😢
Thanks so much sir
In fact I am new in this programming field with zero experience but this tutorial has taught me a lot 😊
i not speak understand i am foreigner haha
I’d failed Java once in college a few years ago, and I’ve been procrastinating getting started on my current Java project for my current degree program. You have taught me more in 45 minutes (so far, looking forward to finishing the video!) than I’ve been able to learn up to this point otherwise (my mind rails against reading a textbook, to my chagrin).
Thank you so much for putting this together. What an absolutely wonderfully made tutorial!
I know this might sound weird but I learned java easily by solving math problems. I learned a lot about functions and different data structures by doing different math problems. But I know math isn’t for everyone so just find a problem you are interested in and try solving it using Java. That’s the best way to learn it imo.
I've failed my first Java course too bro. I think online education is far superior imo. My university professors were out of touch with students.
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
This is such a great tutorial. So clear and easy to follow for someone who is starting with zero knowledge of java.
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.
i REALLY appreciate the zoomed font size for people with only 1 screen. love you
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 .
hey I want a hair cut like you mr.jong
oooo nice!
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!
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!
Thanks for the awesome tutorial.
2:21:49 should be
for (int i = fruits.length; i>0; i--)
System.out.println(fruits[i-1]);
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!
🙌
Same story here... All the best for your learning tho 😄
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!
V_I_S_I_T #######solvemyprogrammingtask #########################################
One of the best teachers I know. Just so right for my SWE (Java Dev) summer internship.
This is a fantastic tutorial!
It's straightforward,
It's descriptive,
It's informative,
and It's helpful!
Before this, I'd always thought that java and basically any programing language required a university course to learn it properly. But after watching this I now know that literally anyone who has a laptop can do it! using this single turtorial I managed to build a currency converter calculator. The best part is this is all free!
Mosh is an amazing person, programmer, and youtuber.
Same , i thought that it required a university to learn it , this encourages me a lot
@@karenyanza7721 It actually takes longer and you learn slower with a university
This is... not straightforward at all.
@@lasagna3289 for your dumb it ain’t
Hee hee hee haw
Im so happy to find his tutorial..he's the best!!
Literally
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.
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.
2:03:39 I just used if it is divisible by 15.
Why? Because:
if some n is divisible by 3 n = 3k (k is an integer)
if some n is divisible by 5 n = 5j (j is an integer)
So if it is divisible by both: n = 3(5j) = 15j ==> it is divisible by 15.
Okay this is very complicated for my puny brain
@Hydra Flow its the proportionality or fractional equivalence rule. If you put any integer in the place of k it will be divisible by 3. Also the same with j.
woah man you made it so far into the course?
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
Best Java course I’ve ever had.
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!
Have not started learning, this will be my first attempt ever and I haven't even watched the video but the comments soothed all the anxieties I had. I'm so excited!
Hi, Mosh! First, thank you for all the time you invested in this. Second, everything is so different from 2019 to now, and also from Mac to Windows, that you may consider re-editing the video. I've lost one hour just trying to get to "So this is our first java app" (or something like that), at 11:45, and I absolutely cannot get it, only a blank screen. So frustrating... Anyway, thanks!
i have the same issue
make sure you have the latest version of java
me too im having the same issue
my respect for Mosh is so high. I am grateful to you
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.
He even looks like the cool dude who supports everything you do.
Yea
😆😆
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
Hey did u get his cheet sheet ... i haven't yet ... so, if u have kindly send me please
@@hariszaib2728 check the description box mate
*10 to 15 mins for the Mortgage Calculator, took me just under an hour lol. Really easy to follow what you are doing for a noobie like myself, much appricated!!
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
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.
This tutorial was the only one I found that kept things interesting! Thank you for that Mosh! It was really... beautiful!!
good
Yes man
This is a great course for me to use to help my students. I received an email to get the rest of the course for $29 and when I click on the link it costs $49.
That's Not bad for a full course.
29 was for early birds
it is 3:14 am. Time to learn something ive always wanted to know
ua-cam.com/video/67uhPE6DNYU/v-deo.html
@@SachinSingh-vy7pm stfu u will just get hate ez rekt lol noob terrible video
same
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!
I enjoyed and needed this so much, I immediately enrolled in your course for all your other levels in this. Learnt more in 25 mins than I did in 3 years for my degree.
ua-cam.com/video/67uhPE6DNYU/v-deo.html
You might be skipping classes in your degree..
@@clicktodhruv Probably attended the wrong course the entire time, missed all of it.
@@clicktodhruv no, uni really doesnt give you everything, they expect u to know the basics already, they teach stuff like algo etc and the rest you gotta go learn on your own cause they really don't teach practical stuff or how to use what you've learned in practice
@@SosiCreatesArt those things are taught in my 9th grade cs reader 🙂 not java's obviously 😂 html
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!! :)
ua-cam.com/video/Z44MkSF6ejc/v-deo.html
Me too! Did you enjoy the courses?
true
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!
same case.
@@JDB75 what a great opportunity to share the love and reward the man, in my opinion.
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
Is college that easy?
Then stop paying them? University isn't a requirement anymore.
Me watching this after 3years and still its help ful thanks man
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.
Mosh, you are one of the best instructor on internet today, especially when in comes to make complex things super easy by graphics. Keep it up ! Thanks millions !!
edit(this is the first mortgage project)
I did the project code like this and used the example on wikHow to check my code
import java.util.Scanner;
public class MortgageCalc {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Enter your principal: ");
double principal = input.nextDouble();
System.out.println("Enter your interst rate: ");
double Interst_Rate = input.nextDouble() / 1000;
System.out.println("Enter the number of payments: ");
double payments = input.nextDouble();
double Mortgage =principal*(Interst_Rate*(Math.pow(1+Interst_Rate, payments)))/(Math.pow(1+Interst_Rate, payments) - 1);
System.out.println("Your Mortgage is : "+Mortgage);
}
}
That is wrong, i copied it and entered the numbers and it had a wrong solution. I think you forgot some "Month" and "Percent"
Can you please text me on my whatsapp this scrpit please
@@twsteams7762 open YT in browser bruh
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!
just scratched Java after spending heavily on C++. What I can say is syntactillay both are very similar, but Java is way easier than C++ with automatic memory management. Anyways looking forward to learn what Java brings to the table which both python and C++ can not. Thx for the amazing tutorial.
I like how you explain the contents before going into detail.
ua-cam.com/video/Z44MkSF6ejc/v-deo.html
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
😁for Real?
Dope
Did you only watch the vid or did you do any other practice? Congrats btw
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.
@@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
2:21:11 While we iterate arrays from the end to the beginning here, an exception will occur Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
This is because array indices in Java are zero-based, meaning they start at 0 and go up to length - 1. In the given loop, we're starting from fruits.length, which is out of bounds for our array. So it can be corrected as:
for(int i = fruits.length - 1; i >= 0; i--)
Great tutorial! Glad to see a professional with decades of experience give his knowledge for others for free.
Its actually crazy how much more you've taught me compared to my university lectures. Thanks so much man.
2:21:45
for (int i = fruits.length; i > 0; i--)
System.out.println( fruits [i-1] );
?
Subhendu fixed error, because Mosh done a mistake there. (fruits' last element has fruits.length -1 (because arrays are 0-based))
Actually, you should write those loops like:
for(int i=fruits.length -1; i >=0; i--)
System.out.println(fruits[i]);
Good spot!
@@individualapproach9866 doesnet even know what it means lol why are you here?
@@lazarvidakovic5976 no you idiot you literally program in java as your living that comment made no sense why is he subtracting 1 again
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
This course drives me crazy, thank you a lot. Also I want to improve my english and you speak so clear, you are the best.
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.
I am so frustrated with my college professor making this course such a pain! But you make it way better!
Same
In ancient india education used to be free u just gotta know how to learn