Home TechnologyProgrammingJava Subscribe to RSS

What Is The Difference Between C Language And Java Language?

Answer Question

5 Answers - Sort by: Date | Rating

    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.



    0 0

    Tulip_rose  

    answered 3 years ago

    This info absoulately good
    I think if u study comparitaive study it
    better and u undestand better
    Report
    A666666666

    A666666666

    commented 3 months ago

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

      John_caleb  

      answered 3 years ago

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

        John_caleb  

        answered 3 years ago

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

        John_caleb  

        answered 3 years ago

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

        John_caleb  

        answered 3 years ago

          More

             
             

            Ask a Question via Twitter

            Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

            Blurtit Store

            Get T-shirts, hoodies, caps and more at the Blurtit store

            Blurtit International