SyntaxFix
Write A Post
Hire A Developer
Questions
You need to use the string concatenation operator +
+
String both = name + "-" + dest;