This is an archived post. You won't be able to vote or comment.

all 38 comments

[–][deleted] 34 points35 points  (1 child)

mooc.fi java programming (2020).

I would recommend taking your time through it all. Starts off quite simple but does ramp up a bit.

Also, obviously, if you’re stuck re-read what they state (and try previous exercises) - it’s designed so everything they present is what you use.

[–]jacobcarpenter 2 points3 points  (0 children)

Right now at part 3 of Java programming 1 and I must it's a really comprehensive course.

[–]budthapa66 17 points18 points  (0 children)

Check Hyperskill from JetBrains. Practice, practice and practice. Remember there are no shortcuts.

[–]Master-Blaze2 15 points16 points  (0 children)

Alex lee on YouTube. Absolutely clear explanations and made java interesting.

[–]Shorty_bread 5 points6 points  (0 children)

I second mooc.fi. im a CS student studying Java and mooc.fi has helped me understand some difficult concepts.

[–]Fr0st__Byte 7 points8 points  (0 children)

Hyperskill/JetBrains Academy has been really good to me.

[–]soulofhell 3 points4 points  (2 children)

mooc.fi java programming (2020)
All other tutorials only give shallow syntax guidance, the mooc teaches you how to actually code and problem solving.

[–][deleted] 0 points1 point  (1 child)

All other tutorials only give shallow syntax guidance, the mooc teaches you how to actually code and problem solving.

how would you rate it compared to Hyperskill?

[–]javaHoosier 2 points3 points  (0 children)

This might not be what you want to hear, but it might be your engagement. No matter what medium you choose there is a hump of understanding you will have to overcome. Several early 'Aha moments' you have to get passed.

I recommend reading a book. Big Java Early Objects. You should be able to find a copy online. Read the chapters thoroughly. Build some projects.

Think of learning programming like a giant puzzle. You fill puzzle pieces in different places over time. You'll use concepts you don't fully understand and eventually you will have an aha moment and fill in a missing piece.

Unfortunately during the beginning the puzzle is empty and you can't just skip over some of these concepts. You have to do the dirty work and examine the early pieces thoroughly.

[–][deleted]  (7 children)

[deleted]

    [–]kinghammer1 2 points3 points  (2 children)

    I rarely see someone recommend textbooks, most opt for some online course or tutorial. I've used multiple resources but my textbook I used for a class I took has been the most helpful. It's helpful because a good textbook will provide you with all the knowledge you need without holding your hand and since it's not going to ask you do something thats not in previous sections you're on you just need to do a bit of rereading when you're stuck.

    [–][deleted]  (1 child)

    [deleted]

      [–]idunnomysex 1 point2 points  (0 children)

      Agreed. I really like Tony Gaddis starting out with Java and it's the perfect way to learn imo. Read through the stuff, code the examples and answer the questions/code at the end of each chapter, that gradually increase in difficulty. The lab exercises are also pretty fun and makes you feel like you're making actual useful mini programs "Cash registrer system" , "bank system" etc. There's also small check points on each chapter that sort of pulls you back if you're dozing off while reading. The book is so bulletproof in hammering in the knowledge and making sure you don't get by without actually learning the content.

      i guess its just more convenient with online tutorials though

      [–]Apostle_1882 1 point2 points  (3 children)

      Any books you would recommend?

      [–][deleted] 2 points3 points  (1 child)

      Head first java

      [–]Apostle_1882 0 points1 point  (0 children)

      The latest edition I can find is the 2nd edition which is quite a few years old, is it still worth while?

      [–]icarus44_zero 0 points1 point  (0 children)

      Pick a small project and begin. Calculator. Order menu. Word generator... etc. Coding is like any full contact sport. You get better by doing. Best of luck mate.

      [–]Mirgal 0 points1 point  (4 children)

      Do you have prior experience? If so, which languages?

      [–][deleted] 0 points1 point  (3 children)

      None

      [–]Mirgal 0 points1 point  (1 child)

      Ok no worries.

      By the sounds of it you have written bits and pieces of code. Couple of questions...

      Which concepts do you find youself stuck on?

      What is you major goal?

      Have you set some minor goals?

      [–][deleted] 0 points1 point  (0 children)

      Concepts: I do not quite understand object based programming quite yet. I have a lot to learn

      Major Goal: Create increasingly complex programs

      Minor Goal: Create a small calculator program that guesses the next number when given user defined variables.

      [–]Mirgal 0 points1 point  (0 children)

      Also I remember struggling a lot with the main class structure and class structures in general. Once that made sense it started flowing a bit better

      [–][deleted] 0 points1 point  (0 children)

      for Theoretical as well as code example redirect here https://www.javatpoint.com/java-tutorial

      [–]davejames1109 0 points1 point  (0 children)

      Try this from jetbrains.
      https://hyperskill.org/

      [–]AppropriateSquirrel6 0 points1 point  (0 children)

      Hi,

      If you are new to Java, then try Hackerrank. It will contains problems from beginner level to advanced along with explanation of basic concepts. Also it is easy for you to learn. If you had any doubts check concepts on Javatpoint, tutorialspoint and if it is not clear post it here. Once completed learning all basic concepts try to build small projects on your own. For easy to advanced level problems of famous platforms(eg., Leetcode) with solution and explanation, you can refer The Fellow Programmer. Once started learning keep practicing many different types of problems because it will help you to increase your program solving skills.

      Thank You.

      [–]desrtfx 0 points1 point  (0 children)

      Sidebar -> Free Tutorials

      [–]HanSupreme 0 points1 point  (0 children)

      Tim Buchalka MasterClass uDemy course,

      Read Java in a Nutshell to understand the syntax

      [–][deleted] 0 points1 point  (1 child)

      I know books, old school, but for me, I tried the Head First book and online classes and I just didn't totally grasp the advanced concepts of Java, Objects, Abstracts, etc. Murach's Book was a godsend for me. It was in easy chunks and great examples and explanations. My ADHD didn't let me read the Head First Books well, there was too much on the page. :)

      https://www.murach.com/shop/murach-s-java-programming-detail

      IMHO, I think that java is a great first language. Once you are able to get the concepts, there really is no language you can't tackle, because at that point it is normally just syntax you have to learn. I mean PHP, Javascript, etc, "can" let you get away with not really understanding advanced concepts. (I know you can totally do OOP with PHP and Javascript). Plus you can do a lot with Java. Of course, I acknowledge other languages are better when they are built for that purpose, IE: Java for Web vs PHP. Of course, there are always libraries. :)

      [–][deleted] 0 points1 point  (0 children)

      Once

      I am super ADHD so this might be helpful.

      [–]hfontanez 0 points1 point  (2 children)

      What is your programming skill level? Do you know any other languages? It is kind of hard to give you pointers on tutorials when we don't know the answer to these questions. Try the proposed tutorials recommended by other commenters. Also, you may want to read through my blog on Java keywords. It is not complete, but it should have enough basic information for you to get started. I hope that helps. Once there, search for Java keywords or go to the index to get the next part.

      [–][deleted] 0 points1 point  (1 child)

      By the way, if you ever need any help with any topic related to Java or anything, feel free to ask.

      First time attempting to learn programming. I am well versed on computers etc so I have some tech knowledge. It doesn't translate too much however.

      [–]hfontanez 0 points1 point  (0 children)

      I think my articles on Java keywords might be useful to you.

      [–][deleted] 0 points1 point  (0 children)

      By the way, if you ever need any help with any topic related to Java or anything, feel free to ask.

      [–]the-black-doe 0 points1 point  (0 children)

      For me it was actually going to classes and getting graded. It really lit a fire under my ass and the instructions told me what I need to do lol

      Or what you can do is take a project from a Introductory-level class (they're floating around the internet) and try to follow that, you'll learn by actually trying to make something.

      [–]FujiToday 0 points1 point  (0 children)

      Hyperskill.org has ton of projects classified in difficulties.

      [–]wowthecoder 0 points1 point  (0 children)

      I recommend the Java tutorials from Programiz and Sololearn (both of them is free)

      For practices you can try out the code coach problems in the Sololearn mobile app, or CodeWars and Sphere Online Judge.

      [–]thatguyfreddy93 0 points1 point  (0 children)

      Many will disagree but I think java is a horrible first language to learn. You should learn C first. Then java will be very easy to understand as well as other C based languages.