Ericsson interview question

Different between Java and C