Pergunta de entrevista da empresa RTX

Why is there a preference to using C or C++ vs Java in RT systems?