Java Programming

Cheat Sheet is Here :

Slower Java Tutorial :

How to Install Java & Eclipse :

Best Java Book :

Support Me on Patreon :

In this Java programming Tutorial I’ll teach you all of the core knowledge needed to write Java code in 30 minutes. This is the most popular request from everyone.

I specifically cover the following topics: primitive data types, comments, class, import, Scanner, final, Strings, static, private, protected, public, constructors, math, hasNextLine, nextLine, getters, setters, method overloading, Random, casting, toString, conversion from Strings to primitives, converting from primitives to Strings, if, else, else if, print, println, printf, logical operators, comparison operators, ternary operator, switch, for, while, break, continue, do while, polymorphism, arrays, for each, multidimensional arrays and more.


m1ksu says:

Derek, () are parentheses, not braces

mad kobra says:

what is the point of calling a method with “this”

Bogdan Vidrean says:

Swtiching from c++ to java feels like switching from manual transmission to automatic transmission!

Kino -Imsure1200q says:

Hmm thats weird. I dont really have programming experience in java, but i really was able to understand the whole video. this made me learn java really easily. although im a child whos allowed to have youtube channel tho this is easy 🙂

I recommend this tutorial

bengtig77 says:

you will learn nothing in 30 minutes. You will end up forgetting everything he just said !

Blu says:

im not interesrted in this sh*t my dad is forcing me to watch this

Shamir George says:

What can I create with this knowledge?

Fajol Miah says:

Can someone explain to me why we have x,y axes in the constructor’s parameter. Thanks

int x=10;
 int y=10;
   public  Constructor(int x, int y){

עידו אריכא says:

very hard to follow

TGR587 says:

Great brush-up coarse! Wouldn’t recommend for beginners to programming, but if you understand any other OO Language this is great for syntax. I took Java 3 years ago for one semester, forgot everything and this course helped a ton!

Mohit Saxena says:

plz make a video of java for creating window, button etc.

Master Blaster says:

How do you use java programming to edit minecraft items in multiplayer? There was a hacker on a server who changed his sword value and can instant kill somone. And he said he used eclipse. Someone please tell me

Shaswat says:

2:02 Corrected:
Double means its a “datatype” which is variable but as we declared final, it will be constant. 🙂

Anil Mawji says:

If you’re new to programming, then I don’t recommend you start out by watching a video like this. This is just my opinion, but I believe it to be more fit for an audience that already has programming experience, but needs to know proper syntax for a new language they are learning. Even then, this video will not teaching you EVERYTHING. Sure, it may have covered a lot of the language, but another very important part is using these techniques to your advantage in order to achieve your finished product, or your goal. That is a skill someone who already has programming experience will already have, and this is why once you learn one language, it gets much easier to learn a new one.

Thanks Derek for an awesome tutorial! 😀

Masta says:

Lost me at a few areas though on the whole this was a great tut that didn’t go as boringly slow as most do. Thanks!

danny hendricks says:

so where is the finished product what did he create is it animation? is it a character select screen in a game? is it a portal to another dimension?

Maneet Goyal says:

More like a refresher. Absolute beginners should look somewhere else (e.g., Bucky). But good content.

superandom mania says:

after 2 seconds i read comments

Alan Benlolo says:

I like your delivery Derek.

Johurul I. says:

After 1:55 I started looking for what people says about it and if they understand the beginning….. Lol…..


Jaheda Begum says:

you’re awesome!!!! I like all your videos…. they’re quick, easy to understand (even though I have never seen java) and interesting 😀 thank you for helping 😀

fidel catsro says:

Wow this is like rocket science!! Have you ever considered making your own Operating System and selling it like Bill Gates with all that knowledge you acquired?

ali Ogaili says:

Find the difference

If you liked it then like and reply and i will reply back and sub to me

iZvone says:

after 2 minutes i started readin comments xDD

ali Ogaili says:

i copied the whole thing and then my dad got happy and mom who got hsppy

Arif Ahmed says:

Fantastic Video for those who need revision! @Derek_Banas , please make more of these on Java so we programmers can have a great refresh of all these codes, which is tedious to remember in the long run!

IVMilkyWayz says:

i recommend watching the new boston tutorials before actually watching this :>

Will Hamilton says:


youssef mhamed says:

imopened the video to read the comments

naveen karthick says:

Thank you so much i have always been looking for a video that brushes up just the syntax and how object-oriented programming is in java This helped me a lot 🙂

Seb Lotsov Phan says:

woow really good!
You got my subscribe sir!
Keep the amazing work!

Wei Ming says:

He is making a program which incorporates every single lesson that you will be taught in your Java course.
The difference between the way he teaches and the way your professors teach is, your professor will be teaching everything in order while Derek combines all the knowledge you need into one mix.
He first talks about objects, classes, primitive types and simple things, but he suddenly jumps into getter and setter methods along with parent and child classes which are usually taught during the 2nd year.
Finally he goes back to if statements, different loops and arrays which are taught way before those setter/getter, parent/child methods are taught.

So basically this is java in 30 minutes but *after* you are taught everything in school.
Specifically this video is a summary of java in 30 minutes.

There were some parts that were confusing *maybe because it was just random things he just decided to add into the code to prove a statement* but overall, it wasn’t to bad.

ls p says:

lost it after 13:00

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!