Java Language vs C Language
first, you understand which method is for what we use, 'C' is the structural language whereas Java is Object oriented language base on oops concept.
for the console application, standalone application C is strongly recommended.
and for other, we can use Java.
Both languages have its own importance we cant compare them.
it's all about preference.