0% found this document useful (0 votes)
46 views1 page

Java Program: Basic Print Example

This Java program prints "Welcome to java" when run. It imports the input/output package and defines a sample class with a main method that uses System.out.println to display the message on the console.
Copyright
© © All Rights Reserved
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)
46 views1 page

Java Program: Basic Print Example

This Java program prints "Welcome to java" when run. It imports the input/output package and defines a sample class with a main method that uses System.out.println to display the message on the console.
Copyright
© © All Rights Reserved
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

Import java.io.

*;

Class sample

Public static void main(String [] args)

System.out.println(Wellcome to java);

You might also like