The very first program which any person would attempt when learning a programming language is to print “Hello World!”, today in this article you would learn how to print “Hello World!” in a simple Java Program.
// Importing default package
//code for writing a class.
public class HelloWorld
public static void main(String rs)
You could run the program by opening a command prompt and then navigate to the place where the program “HelloWorld.java” is stored and used commands to compile and run the Java program, you would see the following out put.
Output: On the console / command prompt.
If you are not aware of how to compile, run and even create a java file, please refer to Getting started with Java , Kindly share any of your queries in form of comments, we would be more than happy to help.
Founder of TestingTools.co, constantly shares knowledge on different test automation tools. Has experience in building proof of concepts, solutions, frameworks, platforms & implementation of test automation projects.
In pursuit of building a platform with inbuilt framework and reusable components for Oracle Cloud applications ( Oracle HCM, CX, SCM, Financials clouds, Salesforce and other cloud applications )
Major accomplishments in his career:
- Product architect and development manager for test automation platforms
- Oracle Flow Builder @ Oracle
- CloudTestr @ Suneratech
- 2 times to oracle open world
- More than 20 successful POCs ( Proof of concepts )
- 100 demos
- Designed pricing models.
- Trained more than 50 members.
- Built more than 100 re-usable functions.
Worked with tools: