C and JAVA are of two different paradigms. C follows structured programming while Java follows object oriented programming.
Java is preferred mostly for all web based application when compared with C. C too, has its own advantages as it is more frequently used as a powerful language to develop device drivers and for Telecom products which use both the power of C and C++.