NEC Corporation interview question

basic difference between c and java