#51
29th August 2011, 03:21 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Dear friend,
As you said that you are very interested in software,I happy to inform you that there are lots of job opportunities in software. Now coming to the point,difference between C,C++ and Java.First you need to remember that C is the basic of all other programing language and the differences are as below, >>C is a procedure oriented language,while other two are object oriented language. >>C and C++ is platform dependent while Java is platform independent. >>C has pointer while other two do not have pointers. These are the main difference between these three languages,there more difference also but those are not important. Hope I help you. |
#53
31st August 2011, 11:13 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Hi dear,
C++ is the advanced version of 'C" language. So, the basic difference between C++ and JAVA are as given below - Java is a true object oriented language while c++ is a object oriented language. In "C" we use the concept of pointers whereas there are no pointers used in JAVA. Java does not support operator overloading but "C" is support. Java provides the multi-threading capability while in "C" is not possible. Thanks |
#55
11th September 2011, 12:57 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
c language:-
this is a structured language, this is not an object oriented language. this language is the base of all the programming languages. it doesn't contain any class and the object. c++ :- this is an object oriented language. it is a platform dependent language. so it follow all the uncharacteristic of OOP like inheritance, encapsulation, and poly morphism. it also contain the class and object. JAVA java is a world wide language. it is a platform independent language. it also have the characteristics of the OOP like inheritance, encapsulation, and polymorphism. |
#57
14th September 2011, 10:33 PM
|
|||
|
|||
Re: Difference between C, C and Java?
Difference Between C, C , and Java
1. C is Procedure Oriented Programming Language, C have both the features of Procedure Oriented and Object Oriented. Java is Complete Object Oriented programming( we can not create any java program without class and instance) 2. To create C and C program we need to use header file and library functions( for C stdio.h, for c iostream.h ) but many library functions like ctype.h , string.h can be used in C and C both. Eg: #include<stdio.h> / #include<iostream.h> etc. Java does not support header file and library functions here we use package. Eg import java.io.*; 3. C and C both support pointer but Java dose not support the concept of pointer. 4. In case of dynamic memory allocation( C uses malloc or calloc function and C uses new operator ). It is necessary to de-allocate the allocated memory for both C and C (using free ). Otherwise it will be the cause of memory leakage. Java create and destroy object itself by using Garbage Collection mechanism. You can create object dynmically but you can not control memory heap or memory location. Because pointers are not available in java 5. arguments of main function in java is String args[] Some special Difference between C and Java 1. classes of C have both the facilitates of multiple and multilevel inheritance. classes of Java supports multilevel inheritance but do not support multilevel inheritance. Multilevel inheritance is done by implementing interface. 2. C have the facilitates of templates. Instead of templates generics are present in Java, which are similar to templates in C . 3. Java supports multi-threaded programming. C does not supports. |
#60
1st October 2011, 12:53 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Dear friend ,
There is a huge difference between C , C++ and JAVA. C is a procedural based language. It has to be written by maintaining a particular approach.C uses pointers, structures and unions. here for input /output we use printf/scanf . C++ language is a object oriented language. It follows the principle of OOPs . Here for input/output we use cin/cout . It has properties like Inheritance , Abstraction etc etc.. Java is a 5th generation language. Its is purely Object Oriented Programming. It introduces the concept of object and class. It is not a modular programming language. you can define anything anywhere. It dosn't uses the concept of pointers. |
#61
2nd October 2011, 02:42 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
I think the main difference between C or C++ and Java in Object-oriented. In Language C or C++, we can extend one more classes. There are many problems from the method of extending, like the sequence of initializing the class before using it and the sequence of destroying the class. It's very hard for the beginner. So Java doesn't allow extending from more one class. On the other side , there is the same in C++ and Java. C is a procedure oriented language . C++ is c with object oriented language. Java is truely object oriented. Thanks |
#63
19th January 2012, 08:09 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
C:c is procedural or struture oriented programming language.and c is system dependent or platform depended language.
C++:it is object oriented programming language but it is not fully object oriented programming language why because if you write the programs without using the classes.. Java:it is fully object oriented programming..with out class not possible to write the java program.it is a platform indepnded language |
#64
20th January 2012, 04:57 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
hello dear
All of these are programming languages. Programming languages are of two types, namely: (a) Modular or function-based Programming Language (b) Object-oriented Programming Language. C is a modular programming language and doesn't have object-oriented features in it. whereas, C++ supports both modular and object-oriented features. Java is a completely object-oriented language as it doesn't allow modular programming. In Java every object has to be defined in terms of a class. I think now your doubts are clear. All the best! thank you |
#65
7th March 2012, 01:19 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
java gives more security than c++
1.java is a GUI but c++ is not. 2.in c++ we use constructor and destructor but destructor can't able to destruct the data,in java at the place of destructor we use finalize which hits the data which we have to destruct and null destructs it. 3.we can make our own packages in java but in c++ we can't. |
#66
4th April 2012, 06:17 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Hi friend......
1.C is a procedure oriented language. C++ is a procedure oriented language. Java is purely object oriented language 2.C is platform dependent language. C++ is platform dependent language java is platform independent language |
#67
24th April 2012, 06:14 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
[QUOTE=rahul k;112410]Dear friend
C++ is the advanced version of 'C" language. So, the basic difference between C++ and JAVA are as given below - Java is a true object oriented language while c++ is a object oriented language. In "C" we use the concept of pointers whereas there are no pointers used in JAVA. Java does not support operator overloading but "C" is support. Java provides the multi-threading capability while in "C" is not possible. |
#68
13th July 2012, 01:27 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
the main difference between c and c plus plus is that c is a procedure oriented language where as cpp is an object oriented language we can compile and and execute all our cprograms in a cpp compiler cpp is an extintion to c. cpp was first called 'c with classes' the ++ in c++ indicates the increment operator in c meaning cpp is an advanced language compared to c the advantage of cpp lies in object oriented programing generally called oops the features of oops are classes,dataabstraction,encapsulation,inheritance, polymorphism,exception handling,etc.,
|
#70
28th October 2012, 05:28 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
|
#72
8th April 2019, 01:02 PM
|
|||
|
|||
Re: Difference between C, C and Java?
Sir, I have completed my B.TECH. but still i am very interest in software. I want to attend the interview. so kindly give me the answer as soon as possible. If you have any other answer(hint) for it plz send it as well.mail id - [email protected]
Thank u, Mohd Irfan |
Related Topics: |
||
Thread | Replies | Last Post |
List of project topics in Java? | 122 | 19th January 2015 12:16 AM |
|