Is the JS console.log-like one. You can output the result to the console. Long, long. .. I complained that even console.log was long. There are two “.”! (Isn’t it the only time I’ll be complemented? But it’s only during Progate.)
What’s more, println, the shocking fact that l is a small letter “eru”. It seems to be read as a print line. ..
The Java structure is divided into three parts: class part, method part, and process in method. It seems to be good enough, but I’m sure there will be a great hint collection later. :spy_tone2:
// variable definition Data type variable name; // Assign value to variable Variable name = value; // Can be combined. It seems to be the initialization of variables Data type variable name = value;
Declare the data type such as int or String to the variable. And, it seems that assigning a value at the same time as defining a variable is called “variable initialization”.
Variable name you want to update = new value;
When updating, do not type the data. If the data type is attached, it seems that a new variable will be defined, Java “I already have a variable with this name. Why do you say that again? Huh?” It seems that you will be annoyed and will throw an error, so let’s not disturb Java.
int X = 2; X = X+3;
The shape you often see. First time knowing that it is called self-assignment.