Created
April 9, 2023 13:10
-
-
Save mounicasrinivas/5718b2107946c22c44b107b2a66cbbe1 to your computer and use it in GitHub Desktop.
Type 2: We can access any class with in this Package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.*; | |
class Mypack | |
{ | |
public static void main (String args[]) | |
{ | |
System.out.println(“Hello World”); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment