0% found this document useful (0 votes)
25 views

Package1 Java

This Java code defines a package called package1 that contains a class called packagetest. The packagetest class contains a public display method that prints the text "HI,Welcome to java package" to the console when called.

Uploaded by

abhi 4000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Package1 Java

This Java code defines a package called package1 that contains a class called packagetest. The packagetest class contains a public display method that prints the text "HI,Welcome to java package" to the console when called.

Uploaded by

abhi 4000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

package package1;

public class packagetest


{
public void display()
{
System.out.println("HI,Welcome to java package");
}
}

You might also like