This Question is Answered 

    What Is The Difference Between C Language And Java Language?

    asked 2 years ago

    Date | Rating

    Answers


    Both Java and C are programming languages.

    The differences between them are as under:

    • The Java has no pointer in it but the C has pointer in it.
    • The referencing system automatically checks in Java but not in C.
    • In Java, there is no concept of global variable where as the C language use the global variable to access all the functions.
    • C language supports the multiple inheritance concepts and Java language do not support it
    • Templates are not supported by the Java where as C language supports the template to allow users to create stacks.
    • Operator overloading is existing in C language but Java not support it. The operators are in incremental or decremented ways.
    • The preprocessors are used in C language where as Java do not support it. Preprocessor like # defines and # include.
    • In C the objects can be manipulated automatically with the help of reference.

    Although there are lots of differences but there are many similarities as well in the C language and the Java like local object declaration and method overloading.



    answered 2 years ago

    New Comment

    1000 words left


      C and JAVA are of two different paradigms. C follows structured programming while Java follows object oriented programming.

      answered 2 years ago

      New Comment

      1000 words left

      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++.

      answered 2 years ago

      New Comment

      1000 words left

      C requires explicit handling of pointers while in Java pointers are handled internally.C is platform dependent while Java is platform independent.Java is more robust and highly secure compared to C language.

      answered 2 years ago

      New Comment

      1000 words left

      There are many features that are not present in C but can be seen in Java.They are inheritance,class,object,polymorphism,virtual class,abstract class,constructors,destructor,message passing,information binding etc.

      answered 2 years ago

      New Comment

      1000 words left