Java is one of the simplest programming languages that most users use in developing the web. There are lots of code editors that have the Java code built in to enable users to build their choice of site and as an individual.
Loading Java:
To load Java, you will need to install the Java Runtime Environment (JRE). The JRE is software that allows you to run Java programs. Once you have installed the JRE, you can load Java by opening a terminal window and typing the following command:
This command will print the version of Java that is installed on your computer.
Java for the first time
public class HelloWorld {
public static void main(String[] args) {
System.out.println(“Hello, world!”);
}
}
This code prints the message “Hello, world!” to the console.
About Author
Discover more from SURFCLOUD TECHNOLOGY
Subscribe to get the latest posts sent to your email.