0% 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.
Copyright
© Attribution Non-Commercial (BY-NC)
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% 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.
Copyright
© Attribution Non-Commercial (BY-NC)
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
You are on page 1/ 1

SIMPLE JAVA PROGRAM: class sim{ public static void main(String arg[]) {System.out.

println("Welcome to first java program");}}

Simple java program:

You might also like