-
-
Save uncoded-ro/346363a693eb77022b3834b55f29fa37 to your computer and use it in GitHub Desktop.
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
public class TestString { | |
public static void main(String[] args) { | |
String nickname = "airman"; | |
String prenume = new String("Vasile"); | |
java.lang.String nume = new java.lang.String("Popescu"); | |
System.out.print("Numele meu este " + nume + " " + prenume); | |
System.out.print(" si folosesc porecla " + nickname + '.'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment