Pergunta de entrevista da empresa Infineon Technologies

If all the Java code is written in 1.6, what are the potential risks that can be mitigated by migrating to latest Java versions?