Basics In Java
Java comments : Java comments are for the human to read. You can add additional information about your program between /*
and */
symbols. Those are not interpreted by the compiler.
package com.company;
public class Main {
public static void main(String[] args) {
/*
*/
}
}
The main()
function is the starting point of the Java program.
Carrier braces describe where the class starting and where the class end.
package com.company;
public class Main {
public static void main(String[] args) {
}
}
Should end every instruction with a semicolon. ;
Parth to the function connect with a dot. .
System.out.println();
java.lang.Math.pow();