JAVA | First Java program
Requirements for java Program Install the JDK any version if you don’t have installed it. Set path of the jdk/bin directory. Create the java program. Compile and run the java program. Refer this link to Download & Install JAVA: Java | Download Install and Setup. Simple Java Program
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | // Package Declaration package package_Java; // Class Declaration public class First_Java_Program { // Main Method execute First public static void main(String[] args) { System.out.println("Hello Selenium"); }// End of main }// End of First_Java_Program Class |
Output:
1 | Hello Selenium |
Understanding…