Playback starts YouTube’s embedded player (privacy-enhanced mode).
Java Tutorial for Beginners [2020]
ChannelProgramming with MoshIn brief
This tutorial walks beginners through Java programming fundamentals, from installation and basic syntax to control flow and practical projects like a mortgage calculator. It’s ideal for those starting in software development or Android app creation, covering core concepts like variables, loops, and conditionals in a structured way.
Key steps
- Install Java on your system to begin coding
- Write and run your first simple Java program
- Learn about variables, types (primitive/reference), and strings
- Explore control flow with if-statements, loops (for/while), and switch cases
- Build a mortgage calculator project to apply what you’ve learned
Questions & answers
Does the tutorial include hands-on projects?
Yes, it includes a mortgage calculator project to practice coding skills.
Chapters
Description from the creator
Master Java – a must-have language for software development, Android apps, and more! ☕️ This beginner-friendly course takes you from basics to real coding skills.
🚀 Want to master Java?
- 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: twitter.com/moshhamedani
- Facebook: facebook.com/programmingwithmosh/
- Instagram: instagram.com/codewithmosh.official/
- LinkedIn: linkedin.com/school/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
🚀 Want to master Java?
- 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: twitter.com/moshhamedani
- Facebook: facebook.com/programmingwithmosh/
- Instagram: instagram.com/codewithmosh.official/
- LinkedIn: linkedin.com/school/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
About this tutorial
Programming with Mosh published this 2:30:48 video tutorial on October 27, 2019. It has been watched 14,523,105 times on YouTube.
- Channel
- Programming with Mosh
- Category
- Education
- Duration
- 2:30:48
- Published
- October 27, 2019
- Views
- 14,523,105
- Likes
- 317,406
Tags
Share
This tutorial in other languages
- FRJava Tutorial pour les débutants [2020]
- ESTutorial de Java para principiantes [2020]
- PTJava Tutorial para Iniciantes [2020]
- ITJava tutorial per principianti [2020]
- DEJava-Tutorial für Anfänger [2020]
- NLJava Tutorial voor beginners [2020]
- RUJava Учебник для начинающих [2020]
- PLJava Tutorial dla początkujących [2020]
- JA初心者のためのJavaチュートリアル[2020]
- ARجافا دروس للمبتدئين [2020]
- HIशुरुआती के लिए जावा ट्यूटोरियल [2020]
- IDJava Tutorial untuk Pemula [2020]