Ads Sponsored By Google :)

Wednesday 27 February 2013

difference between c and c++ and java languages|compiler with tabular form pdf


difference between c and java   difference between c and c++ and java   difference between c and java pdf
difference between c and java with example difference between c and java compiler difference between c and java and c++ difference between c and c++ and java in tabular form difference between c and c++ and java language comparison between c and c++ and java c and c++ and java difference difference between c and c++ and java in tabular form pdf difference between c and c++ and java in tabular form difference between c and java and c++ comparison between c and c++ and java difference between c++ and java difference between c++ and java with tabular form difference between c and c++ and java languages


C   Vs   C++  Vs  Java:

  This post or article gives an idea regarding some of the differences between C, C++ and Java. It does not give to do is conclude that one language is always the best to use. Language choosing is depends upon a range of properties including field of application (operating systems, desktop software, web applications etc), what programming paradigm suits the application (OOP or procedural or etc), the target platform and available programmer expertise. What follows should help you decide where it might be suitable to use C, C++ or Java.


Table Comparing C, C++ and Java:

This table is a summary of the differences found in the article.
Feature
C
C++
Java
Programming Approach
Procedural Programming Language
Procedural, OOP, Generic Programming languages
OOP, Generic Programming languages.
Compiled Source Code
Executable in  Native Code
Executable in Native Code
Compiled into Java byte code
Memory management
Manual Done,
Manual Done,
Managed, using a garbage collector
Pointers
Yes, very commonly used.
Yes, very commonly used, but some form of references available too.
No pointers; references are used instead.
Preprocessor
Yes
Yes
No
String Type
Character arrays
Character arrays, objects
Objects
Complex Data Types
Structures, unions
Structures, unions, classes
Classes
Inheritance
N/A
Multiple class inheritance
Single class inheritance, multiple interface implementation
Operator Overloading
N/A
Yes
No
Automatic coercions
(Conversion)
Yes, with warnings if loss could occur
Yes, with warnings if loss could occur
Not at all if loss could occur; msut cast explicitly
Variadic Parameters
Yes
Yes
No
Goto Statement
Yes
Yes
No


 

1 comment:

  1. Look at here Difference Between C and C++

    Don't Forget to comment

    http://geeksprogrammings.blogspot.in/2013/06/difference-between-c-programming-and-c.html

    ReplyDelete

LinkWithin