Learning Java: Part 1: Basic Introduction

///Learning Java: Part 1: Basic Introduction

Learning Java: Part 1: Basic Introduction

FavoriteLoadingAdd to favorites

View the next part: https://www.youtube.com/watch?v=wzfovpZkeW4


In this tutorial I will teach you how to begin coding with Java, one of the most powerful multiplatform languages to date.

Download Eclipse: http://www.eclipse.org/
Download Java: http://www.java.com/en/

Thanks for watching!

By |2017-05-13T20:17:03+00:00May 13th, 2017|Java Video Tutorials|50 Comments


  1. Mauriben Garlejo May 13, 2017 at 8:18 pm - Reply

    Is ti possible for a 12 year old kid like me to finish this tutorial to be a a good coder even if this is isn’t the course im gonna take well sure there is already a 12 year old kid who became a developer

  2. Unknown User May 13, 2017 at 8:18 pm - Reply

    Is this still useful even your version is still outdated?

  3. F4MZ1 May 13, 2017 at 8:18 pm - Reply

    Thank you for these videos, much appreciated.

  4. Edward Dempkowski May 13, 2017 at 8:21 pm - Reply

    I have been looking for java tutorials for about a week and these have been the best ones I have found so far. I am also in school for information technology with a concentration in software development. So thank you very much for taking the time to make these tutorials.

  5. kritokuku May 13, 2017 at 8:23 pm - Reply


    I’m taking the tutorial and when I wanted to run the Hello World program J Unit core encountered this error:

    Launch configuration JUnitCore references non-existing project Java Program Structure.

    What’s wrong?

  6. Superbear275 May 13, 2017 at 8:23 pm - Reply

    kind of reminds me of css

  7. Amazing Videos May 13, 2017 at 8:25 pm - Reply


    Hi can you help me with java programming what should i do really i want learn can we discuss i know some of java my No whatsupp


  8. HWK May 13, 2017 at 8:26 pm - Reply

    My professor has a hardcore foreign accent and rushes through every lesson. I can’t follow anything he says. Hopefully these tutorials can save my grade. Thanks

  9. Ashè May 13, 2017 at 8:29 pm - Reply

    I discuss coding in a broad way on my channel. By explaing the overarching concepts I hope to increase your understanding of essential programming techniques.

  10. Bytersus May 13, 2017 at 8:30 pm - Reply

    Thank you so much for getting me started with the basics of Java. I truly appreciate it! 😀

  11. Ben Baxter May 13, 2017 at 8:31 pm - Reply

    nvm now it got it right . i typed everything exactly as you did.now i understand that you have to be careful when typing codes , specially with the caps. one question though, Are the position of the words "this is a tutorial" important? or do they have to be written in that way?

  12. Pooja Managiri May 13, 2017 at 8:31 pm - Reply

    Very helpful 🙂 thank you…

  13. Ed, Edd n Eddy May 13, 2017 at 8:32 pm - Reply

    I’m not going to school for this but I’m eager to learn java. I hope I’ll be able to understand all the terminology and functions of java as time goes on

  14. Jay Zeno May 13, 2017 at 8:32 pm - Reply

    I really want to learn but I’m so bad a concentrating at only one think it sucks

  15. BowzMC ツ May 13, 2017 at 8:32 pm - Reply

    how do u install eclipse? its not working

  16. Deon Little May 13, 2017 at 8:33 pm - Reply

    Will there be a point in using simple variables later in learning? Didnt really see much change when he started using them.

  17. Eray Alparslan May 13, 2017 at 8:36 pm - Reply

    Very useful for beginners thank you for your effort.

  18. jr dela cruz May 13, 2017 at 8:37 pm - Reply

    it really help for beginners like me , thanks for that but it’s gonna be more helpful if you are going to zoom it whenever your typing anything. ✌️

  19. Rick Andrew May 13, 2017 at 8:38 pm - Reply

    Thank you, Brandon for the great lessons. After after a few hours watching your vids I was able to write a tip program and it worked great. Totally appreciate you making these Vids!!

  20. Ben Baxter May 13, 2017 at 8:39 pm - Reply

    i did it as you said but i got this result :

    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    Syntax error, insert "}" to complete ClassBody

    at tutorial.tutorial.main(tutorial.java:14)

  21. Joseph Chennamparambil May 13, 2017 at 8:40 pm - Reply
  22. Darren Howley May 13, 2017 at 8:40 pm - Reply

    Anyone else having issues with no sound?

  23. Kent Fortich May 13, 2017 at 8:41 pm - Reply

    best tutorial that i found so far

  24. steve frt May 13, 2017 at 8:41 pm - Reply

    Thanks you so much

  25. Juggernoget May 13, 2017 at 8:42 pm - Reply

    This the only Torrential that actually made sense

  26. UzTube May 13, 2017 at 8:42 pm - Reply

    thank you so much, you are great Tutor and your tutorials are very usable and understandable you explain what are you doing to us very well. My knowledge is increasing with your help. Thank you so much again.

  27. Lex Luthor May 13, 2017 at 8:42 pm - Reply

    dear god I might just pass M250 with this.

  28. Jisha Lia George May 13, 2017 at 8:43 pm - Reply

    Very good .Now  I got the basics about java. Thank you

  29. kristian del mundo May 13, 2017 at 8:44 pm - Reply

    is this oop?

  30. Nomics TM May 13, 2017 at 8:44 pm - Reply

    lol, he said rate when the 5 Star Rating concept was abandoned around that time he made this video. What he means is, "Don’t forget to PUNCH THAT LIKE BUTTON LIKE A BOSS! Leave a comment down below. And if you’re new here, go ahead and hit that Subscribe button. Thanks for watching!"

  31. Zzzzzz... May 13, 2017 at 8:45 pm - Reply

    For the part where we type in hello world, I typed in hello penis…

  32. banti ram May 13, 2017 at 8:47 pm - Reply

    visit http://www.weclassmates.com and learn java basics with easy to understand tutorials and examples.

  33. Saif Pro May 13, 2017 at 8:48 pm - Reply

    Aaaa from batch coding to Java Coding wow coding is interesting

  34. Slend3R Music May 13, 2017 at 8:48 pm - Reply

    I have some C++
    but in java there is no run option l, like a black window pop up
    is this possible or not
    Sorry for this foolish questio

  35. atarparker May 13, 2017 at 8:49 pm - Reply

    Ive learned more in this video than I have so far in my college class. Im 5 weeks in (10 classes) and so far its been 100% Java.

  36. PrimeArtOnline - Piano Covers May 13, 2017 at 8:50 pm - Reply

    package codenmore;
    import java.util.Scanner;
    import java.util.InputMismatchException;
    public class Stuff {
    public static void main(String args[]) {

    System.out.println("Hello, User! Today we are going to be doing a math logic game. Don’t include commas in any of your answers. Say ‘Ok’ to proceed.");
    Scanner olive = new Scanner(System.in);
    System.out.println(olive.next() + ", what is 10 to the 3rd power?");

    Scanner keyboard = new Scanner(System.in);

    int UserInt = keyboard.nextInt();
    int randomNum = 1000;

    if (UserInt == randomNum){
    System.out.println("Good job! Next question.");

    }else {
    System.out.println("Sorry, that is incorect! Let’s try another one.");
    Scanner olives = new Scanner(System.in);

    System.out.println("Alright, what is 55 times 39? You can use a calculator if you need to.");

    int UserIn = keyboard.nextInt();
    int answer = 2145;

    if (UserIn == answer){
    System.out.println("Good job! Next one.");
    }else {
    System.out.println("Sorry! Wrong answer. Next question.");

    System.out.println("What is 10 to the power of 0?");

    int User = keyboard.nextInt();
    int answers = 1;

    Scanner oli = new Scanner(System.in);

    if (User == answers){
    System.out.println("Nicely done! Next one.");
    }else {
    System.out.println("Sorry, but that is… (Uses Donald Trump imitation) WRONG!!");

    System.out.println("What is 2.1 x 10 to the sixth in standard form? (Scientific Notation problem) [Don’t include commas for answer].");
    Scanner stuff = new Scanner(System.in);

    double Opp = keyboard.nextInt();
    double Opps = 2100000;

    if (Opp == Opps){
    System.out.println("Very well done! THE NEXT ROUND ");

    System.out.println("Sorry, but the correct answer was 2100000. Let’s continue!");
    System.out.println("What is the meaning of life? (Answer as an integer).");
    Scanner life = new Scanner(System.in);

    int lifes = keyboard.nextInt();
    int live = 42;
    if (lifes == live){
    System.out.println("You are……………………………………CORRECT!!! xDDDDDD! Anyways, we’re getting close to done (jeez this requires much more code than you think).");
    } else {
    System.out.println("Awww, you got it wrong, bro! The answer was 42 xDDDDDDDDD! Anyways, we’re getting close to done (jeez this requires much more code than you think for this little game!");
    System.out.println("What is the meaning of death? (Answer as an integer)");

    Scanner Justin = new Scanner(System.in);

    int qwertyuio = keyboard.nextInt();
    int qwertyuiop = -42;
    if (qwertyuio == qwertyuiop){
    System.out.println("Very well done, m8! Last question.");
    }else {

    System.out.println("Dang, that’s wrong! The answer is -42 boi. Last question!");
    System.out.println("What are the first 9 digits of Pi? (Don’t include the period after the 3)");

    Scanner finale = new Scanner(System.in);
    int UserResponse = keyboard.nextInt();
    int Response = 314159265;

    if (UserResponse == Response){
    System.out.println("Correct! Good job. Thanks for playing, hoped you enjoyed! :)");
    System.out.println("Sorry, that’s the wrong answer! Too bad, the answer was 3.14159265358979323846. Well, that’s all the time we have for this game, thanks for playing! Hoped you enjoyed!");

  37. Srinidhi M S May 13, 2017 at 8:51 pm - Reply

    Eclipse is an ide .. and / is forward slash

  38. Moon Man May 13, 2017 at 8:52 pm - Reply

    Anyone has a link for the JAVA OS? I can’t find it anywhere

  39. Doug Cannon May 13, 2017 at 8:52 pm - Reply

    Thanks man, I am subscribing! I am in process of learning Java before I move onto Android Development because I got a textbook for my birthday as a birthday present for a teach yourself android development. A lot of android developers recommend that you learn Java first and here I am and I was able to make a hello world and it worked! First step for man, one giant leap for android kind.

  40. Sir Babajide May 13, 2017 at 8:52 pm - Reply

    I use netbeans but it looks very similar to eclipse so its all good

  41. Taylor Marie May 13, 2017 at 8:54 pm - Reply

    I’m a psych major who has to take intro to java as a requirement so I’m counting on you to get me to a C at the very least, my good man

  42. Andrew May 13, 2017 at 8:55 pm - Reply

    Just a note: "{" and "}" are simply braces.

  43. Arden Xie May 13, 2017 at 8:58 pm - Reply

    How do you run it, when i do, it says, "This selection cannot be launched, and there are no recent launches"

  44. Paseka Ngulube May 13, 2017 at 8:59 pm - Reply

    i keep getting "Java was started but returned exit code= 13"error when i try to run the .exe file . how do u fix it?

  45. finn quail May 13, 2017 at 9:01 pm - Reply

    I have notepad++

  46. J Diaz May 13, 2017 at 9:05 pm - Reply

    This is great, im actually already taking a java course but I use your videos for review which really help me nail down concepts that i might not get in class, big thanks, ill definitely be checking out your other ones

  47. Emre Sahin May 13, 2017 at 9:08 pm - Reply

    it’s 2016 now. let’s see if this tutorial series is still up to date.

  48. Awesome Lettuce May 13, 2017 at 9:10 pm - Reply

    thanks a million

  49. Aditya Rox May 13, 2017 at 9:13 pm - Reply

    Really helpful thanks a lot.
    Could you do one on c++ maybe? Or even Python?

  50. Andrew Montoya May 13, 2017 at 9:16 pm - Reply

    Love this series, I just started programming fundamentals I. this will be invaluable. thanks!

Leave A Comment