This simple Java program contains a single class called "sim" with a main method that prints the text "Welcome to first java program" to the console when run. The main method takes an array of String arguments and uses System.out.println to display the welcome message without any other code.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
64 views1 page
New Microsoft Office
This simple Java program contains a single class called "sim" with a main method that prints the text "Welcome to first java program" to the console when run. The main method takes an array of String arguments and uses System.out.println to display the welcome message without any other code.