Pregunta de entrevista de Accenture

How can you differentiate between C, C++, and Java?