Empresa engajada
String s = "Hey"; s = s.concat(" Guys") sop(s)
Sigiloso
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
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Comece a buscar vagas para receber atualizações e recomendações personalizadas.