Home TechnologyProgrammingJava

What is Blurtit?

What Is The Difference Between C Language And Java Language?

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

    Tulip_rose

    answered 2 years ago

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

      John_caleb

      answered 2 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

      John_caleb

      answered 2 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

      John_caleb

      answered 2 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

      John_caleb

      answered 2 years ago

      Answer Question - Answers are editable for 5 min.

      If you do not Sign-in or Register your answers will be anonymous,

      your answers may also be checked before going online.

       
       

      © 2007-2009 Blurtit