Loading...
Engaged Employer
String s = "Hey"; s = s.concat(" Guys") sop(s)
Anonymous
It should be Hey as Strings are immutable
HeyGuys
I know its 'Hey guys' but they were in an assumption that it is 'Hey' dont know how.
I think the interviewer were in assumption that Strings in java are immutable. that's why they said it's only hey. but hey guys is the right answer
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.
Get actionable career advice tailored to you by joining more bowls.
Check out your Company Bowl for anonymous work chats.