Created
June 5, 2021 14:07
-
-
Save MrRahulR/0acd3589c1dc7a981a8882ee9a50bbe0 to your computer and use it in GitHub Desktop.
StringConcatenation.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 StringConcatenation { | |
public static void main(String[] args) { | |
String greetings = "Hello"; | |
String javaClass = "Class"; | |
System.out.println(greetings + " " + javaClass); | |
} | |
} | |
/* | |
Output : | |
Hello Class | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment