Java Tutorial for Absolute Beginners: Learn Java in 3 hours

preview_player
Показать описание
Java tutorial for beginners - Become a Java programmer. If you don't have any background into programming (or Java), this video is made for you.

This video might look a bit weird and vertical, don't worry! I made this so you can follow along more easily: just take the video on half of your screen, and use your code editor on the other half, so you don't need too go back and forth between your code and the video.

- On Windows and some Linux OSes: drag this window until the mouse hits the left or right edge of the screen. It should resize to half the screen.
- On Mac: Make the video and your code editor fullscreen and then in the multi-desktop view, just drag one onto the other (see around 3.00).

In this Java tutorial, you will install Java 14 and your first development environment and you will learn to write your first Java applications. You will:
- understand how Java works on many platforms and why it's so popular
- create variables in Java, of various types
- compute any expressions you want, on different types
- make the computer do different things based on conditions
- make the computer automatically repeat instructions
- define your own data types with classes
- customize your data types with fields and methods
- understand the difference between access modifiers public and private
- write class-level fields and methods with the static modifier
- understand how a Java application runs

By the end of this Java tutorial, you will create your first chatbot - we'll call it Rock - which will greet you politely by your name, and will compute your age based on the information you give it. After that, it will perform a repetitive task very, very fast.

Table of contents:
0:00 intro
4:07 install Java and IntelliJ IDEA
7:28 create your first Java project
12:47 your first running Java application
15:20 variables
19:17 primitive types
28:29 incrementing and math operations
38:40 special characters
41:40 boolean operations
55:33 if-else statements
1:03:07 loops
1:16:29 defining a Java class with fields
1:34:07 defining and calling methods
1:56:12 arrays and foreach loops
2:09:51 static fields and methods
2:14:21 access modifiers
2:21:43 writing Rock, the chatbot
2:44:32 packaging the application
2:49:15 you rock

Follow Rock the JVM on:

-------------------------------------------------------------------------
-------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

What an excellent tutorial ! Can only come from a person who understands CS fundamental in depth .

NITISHBHARDWAJONE
Автор

Daniel, thank you so much for creating this video! I've learned a lot! Please consider creating an entire paid Java course, covering OOP and a web project. You are a fantastic teacher and would love to learn more from you! All the best!

Alexandra-jzcd
Автор

Most concise Java tutorial I came across (by far). Go Daniel!

ibrahimelmoufti
Автор

The way you started this video was totally genius! XD I like the video mode this way

kylecrispy
Автор

Amazing video Daniel. Great tutorial as always!!. Can you make a tutorial or a course on scala frameworks like play or slick or libraries like Cats?? That would be amazing 😍

sherwin
Автор

Awesome tutorial. I really liked it. Congratulations!!!!

pgf
Автор

You rock. Can you create a Udemy course on OOP & functional programming with Java? Thanks!

raafnaah
Автор

Around 38:18, the end result of someInteger should be 6?
Int someInteger = 4;
Int someInteger2 = someInteger++; // someInteger2 = 4, someInteger = 5
Int someInteger3 = ++someInteger; // someInteger3 = 6, someInteger = 6

I never like pre-incrementing or post-incrementing feature of Java syntax, very confusing and error-prone..
Also I can see why functional programming like Scala is catching on.

yendxc
Автор

Thank you for this amazing course, is there an entire course for java?

ibrahimaboulama