Pregunta de entrevista de BNY

difference between c++ and java