Last active
April 9, 2023 12:57
-
-
Save mounicasrinivas/e910a9bf252c78befe999fc69fe24db2 to your computer and use it in GitHub Desktop.
Type 3:Directly Create Object Without Importing Any 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
class Test | |
{ | |
public static void main ( String args[] ) | |
{ | |
java.lang.String Str = new java.lang.String("hello"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment