Created
June 5, 2021 14:08
-
-
Save MrRahulR/3921ca961c41a10eb8aa5e4b47b12c27 to your computer and use it in GitHub Desktop.
StringConcatenation2.java
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 StringConcatenation2 { | |
public static void main(String[] args) { | |
System.out.println("The answer is " + "42"); | |
} | |
} | |
/* | |
Output : | |
The answer is 42 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment