>>
>>4839
It's sort of easy. Java isn't like Python and JavaScript that will execute in a strait line down the file like going down a grocery list. In Java everything is irritatingly hidden away in classes.
Classes are blue-prints for objects. [eyeroll]
Really classes are a collection of related functions and some variables that they all share. In most modern programming languages, last 10 years, the basic type for a variable is an object. So in JavaScript I say `let x = 100;` x should be an integer, but it's treated like an object, because then you can assume ever thing that let takes is at least an object.
Often with Java you will hear that a Class is a blue-print for an object. What that really means is a class is a blue-print for a variable. So, all classes are actually types. Just because you wrote a class doesn't mean the code in that class will be called. You have to create a instance of the class: `MyClass test = new MyClass();` The first `MyClass` is the type, which is just the name of the class because all classes are types. `test` is the variable name. And you want to create a **new** instance. If `MyClass` had a `__init__( var_1, var_n )`, like in python3, also sometimes called a constructor which is not required in Java you would put the vars in `new MyClass(var0, var1);`. I this example it does not.
https://www.youtube.com/playlist?list=PLE7E8B7F4856C9B19
^ Excellent Java Tutorial
Also learn Gradle. It does dependences for Java like pip does for Python. Gradle is also used for make android apps. And if you're going to lean Gradle you'll need to learn Groovy (a JVM language that's like Python).
https://groovy-lang.org/syntax.html
^ after this Gradle made a lot more sense than looking at it cold.