Java tutorial for beginners – Learn Java, the language behind millions of apps and websites.
🔥 Want to master Java? Get my complete Java mastery bundle:
👍 Subscribe for more Java tutorials like this:
📕 Get my FREE #Java cheat sheet:
⭐️ Want to learn more from me? Check out these links:
Courses:
Twitter:
Facebook:
Blog:
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
#Programming
Nguồn: https://namcongnghe.com/
Xem thêm: https://namcongnghe.com/category/thu-thuat-may-tinh
🔥 Want to master Java? Get my complete Java mastery bundle: http://bit.ly/2tKoy8C
👍 Subscribe for more Java tutorials like this: https://goo.gl/6PYaGF
Reach out to 👆👆👆He is reliable and has the Best Forex Trading Platform and most importantly his trading signals and amazing strategy is just the best. I will recommend him as mentor for beginners or anyone who needs help in trading generally and want to invest.
can you provide notes of this course…..😀
you are the best programming teacher
it says I have to pay 700 euro for the intellij idea.. Am i doing something wrong or do I need to pay?
isn't there are continuation of this tutorial? where are them?
25:59
learn here in amharic language: https://www.youtube.com/c/MekuanentDegu-java-tutorial
Literally nothing worked nor looked the same for me in Windows from the beginning, very frustrating.
30:25 boolean should be one bit.
im grateful, thank u
16:13
If you note down yourself, its way better.
https://youtu.be/idxEr0wIYIY new Java program course
THIRD GOAT IN THE LIST
hahaha I'm also in team pi(pee)! 😂
Yo Mosh.
Awesome tutorial, seriously.
Any chance you can send me a new link to the cheat sheet? the link is not working for me ;(
thanks for the tutorial and that you spent time helping others. I have one question, can you use visual studio core for the code writting?
not for beginners 🙂
Just to help some other people that might be confused at the ending of For-each where you try to reverse it. the fruits.length = 3 when you try to index 3 on the fruits array there's no index so just change the [i] inside the print statement to [i – 1]
lov it
verry nice and wonderful
I am trying but I get confused and cannot make it work on my windows 11 PC.
I am having trouble with downloading JDK it doesn’t take me to the same website with same interface it’s completely different now someone please help me I want to learn Java.
Thank you for your lecture, you are truly a lecturer. Please sir how do i write and run this programs t=4r+amod4, C=w-2d4-X4/8, please i need an urgent answer sir.
Will i achieve the same result in Vscode
Hello sir thank you so much , Please for windows, will the installation of the JDK be the same
HI😀
You put too much advertisement on your video, it is annoying to interrupt so many times. Otherwise, the video is very good. think about it.
aoa i cant find the jdk kit on google
help plz
Hi Mosh, thanks for what you’re doing. Question, do you have any tutoring clip on Java with hibernate , spring , and spring boot ?
Thank you again
Arash
There's no Java for me to select within IntelliJ only Java fx
I love this
thx mosh
THANKS A LOT Mosh! These tutorials are pretty useful and very clear to understand the basics of Java.
I have a question about the final project, here's the solution I've made:
while (true) {
System.out.print("Principal ($1K – $1M): ");
principal = scanner.nextInt();
if (principal >= 1000 && principal <= 1_000_000) {
while (true) {
System.out.print("Annual Interest Rate (0 < value <= 30): ");
rateAnnual = scanner.nextFloat();
if (rateAnnual > 0 && rateAnnual <= 30) {
while (true) {
System.out.print("Period (1 < Years < 30): ");
periodYears = scanner.nextByte();
if(periodYears > 1 && periodYears <= 30) {
break;
}
System.out.println("Enter a value between 1 and less than equal to 30");
}
break;
}
System.out.println("Enter a value greater than 0 and less than or equal to 30.");
}
break;
}
System.out.println("Enter a number between 1,000 and 1,000,000.");
}
QUESTION: Is it true that each break command work only with the specific while loop in which you have called that break? Is there a way to "break" all the while loops without spamming break commands?