arent javascript and java different?
Yes they are two different languages with different uses. Javascript was supposed to be based off of java when it was made specifically for the browser, but it's nothing like it lol.
Since you're new to programming. I would try to find a video or a website that explains the concepts of programming.I found this article, barely looked through it but here u go.http://howtoprogramwithjava.com/programming-101-the-5-basic-concepts-of-any-programming-language/EDIT: One thing you're going to hate about programming is trying to read documentation -_-
so why does OP want to learn Java but has a picture of Javascript?