#1
25th July 2011, 10:25 PM
|
|||
|
|||
Difference between Java, C++ and C Language?
Can you please tell me what is the exact
difference between java, c++ and c language |
#2
26th July 2011, 09:32 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
The difference is very much similar as the difference between you , your father, and your grand father.
C is the modified language of C++. while Java is new one. With java it is easy to do programming and create website, games,etc. |
#3
26th July 2011, 11:16 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
there are so many difference between C, C++ and JAVA. i think you will get these all differences from any book still i am giving some difference here.
first of C is a procedural language whereas C++and JAVA is object oriented language. in object oriented language there is concept of inheritance, polymorphism, encapsulation. but in C there is no concept like this. C is a top down approach language. C++ and java are bottom up approach language. in C++ there is concept of class, method etc. but in C there is no such concept. C++ allow name space but C does not. in this way so many differences are there. try to collect the total difference from any good book. |
#4
26th July 2011, 11:42 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
Quote:
C++ is a Objected Oriented Programming Language. Java is a Purely Oriented Programming Lanaguage. Java doesn't have a Pre-processor(i.e#define,#include) C++ using the class concept and C is not using the class concept. Java doesn't support multiple inheritance. Java doesn't use the pointers. Java has a different package like lang,I/O,awt,net,applet...etc. |
#5
26th July 2011, 11:54 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
Hi,
There is some difference in C,C++ and Java. C language is the base of all language.all computer language uses concept of C language.if your concept of C language are clear then you can easily prepare other language easily. C language is platform dependent language.it is a procedural language.we have to follow a procedure to complete our task. C++ is a object oriented language.we make object to complete our task.all language uses C++ concept as Inheritance,Polymorphym,Abstraction and other many comcepts.these are the concept of C++ language. Java is very very important language.it uses C and C++ language concept.Java is platform independent language.Java code after compilation generate byte code which can run on any machine. Todays most electronic items are based on java as all multimedia phones are based on java.without java they can't work properly.Java use the concept of C and C++ language. |
#6
26th July 2011, 01:08 PM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
c and c++ are plateform dependent language. because in each system they are not ork successfully.
JAVA is the plateform independent language. in java programs we are needed the jvm. jvm is the java virtual machine. which is installed in the system. in java all coding are done in the class but this is not in c. so this is the main difference. |
#7
26th July 2011, 03:27 PM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
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 |
#8
26th July 2011, 03:36 PM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
friend c is a low level language and is an basic lang. required in all sectors. c++ is a high level lang. and is based on the concepts of c lang. though there are some xtra features involved whereas java is a high level lang. that is similar to c++ its of 2 types core and advanced.
|
#9
26th July 2011, 06:00 PM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
Difference Between C and C++ :-
1.C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented). 2.In case of C, the data is not secured while the data is secured(hidden) in C++. 3.C is a low-level language while C++ is a middle-level language. 4.C uses the top-down approach while C++ uses the bottom-up approach. 5.C is function-driven while C++ is object-driven. 6.C++ supports function overloading while C does not. 7.We can use functions inside structures in C++ but not in C. 8.The NAMESPACE feature in C++ is absent in case of C. 9.The standard input & output functions differ in the two languages. 10.C++ allows the use of reference variables while C does not. Difference Between C++ and JAVA :- C++:- 1.Compatible with C source code, except for a few corner cases. 2.Write once compile anywhere (WOCA). 3.Allows procedural programming, object-oriented programming, and generic programming. 4.Allows direct calls to native system libraries. 5.Exposes low-level system facilities. 6.Only provides object types and type names. 7.Has multiple binary compatibility standards (commonly Microsoft and Itanium/GNU). 8.Supports native unsigned arithmetic. JAVA:- 1.No backward compatibility with any previous language. The syntax is however strongly influenced by C/C++. 2.Write once run anywhere / everywhere (WORA / WORE). 3.Strongly encourages an object oriented programming paradigm. 4.Call through the Java Native Interface and recently Java Native Access. 5.Runs in a protected virtual machine. 6.Is reflective, allowing metaprogramming and dynamic code generation at runtime. 7.Has a binary compatibility standard, allowing runtime check of correctness of libraries. 8.No native support for unsigned arithmetic. Except these difference there are a lot of diffrence.For this you should refer to the different books based on C,C++ And JAVA. |
#10
27th July 2011, 07:45 PM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
C is a basic language. it has nothing to do with object-oriented part.
C++ is advanced form of C. you can say that it is an improvement over C(or advanced level of C). it also includes object oriented part but it is not a pure object oriented language. it is used in various basic projects like ATM machine is programmed using C++. Java is a pure object oriented language. it is used mostly over internet. But it also uses basic concept of C language. |
#11
31st August 2011, 03:18 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
Quote:
C language is a structure language.Its a top down approach.Pointer used in C language.C language is a platform dependent language so its not possible to run the executable code on other operating system,processor or system. C++ is the advanced version of C++ language.Its a object oriented language.Its also a platform dependent language so the executable code cant run on other operating system,processor or system.C++ language uses the property of object oriented language like polymorphism,inheritance etc. The last one is java language.Its the best language in all language.Its purely object oriented language.That means it uses the property like inheritance,polymorphism,abstraction etc.Its a plateform independent language so that means the executale code(byte code) can be run on any other operating system,processor or system. |
#13
11th September 2011, 02:43 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
there are some main difference in among the c, c++ and java languages:-
c is a structured language. it is a platform dependent language. it is a top tp down approach language, it does not contain any class or the object. c++ is a object oriented language, this has the characteristics of the inheritance, encapsulation and polymorphism. it also contain the class and object. java is a down to top approach language. it is a simple language. it is a platform independent language. it contains all the characteristics of the OOP. |
#16
28th October 2011, 01:29 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
C++ , you can say is the modified new version of C and java the latest.
Also C is a procedural language and C++and JAVA is object oriented language. C is a top down approach language. C++ and java are bottom up approach language. Programming in java is much for easier and user friendly compared to C programming. |
#23
11th April 2013, 11:56 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
hi,,,,
Difference Between C++ and JAVA C++--- **Exposes low-level system facilities. **Write once compile anywhere (WOCA). **Supports native unsigned arithmetic **Compatible with C source code, except for a few corner cases **Allows direct calls to native system libraries **Only provides object types and type names. JAVA:- **Call through the Java Native Interface and recently Java Native Access. **No native support for unsigned arithmetic. **Write once run anywhere / everywhere (WORA / WORE **Runs in a protected virtual machine. **No backward compatibility with any previous language. The syntax is however strongly influenced by C/C++ Difference Between C and C++ :- **C++ supports function overloading while C does not. **C++ allows the use of reference variables while C does not. **C uses the top-down approach while C++ uses the bottom-up approach **C is function-driven while C++ is object-driven. **In case of C, the data is not secured while the data is secured(hidden) in C++ **The standard input & output functions differ in the two languages best of luck!!!!!!!! thanks alot!!! |
Related Topics: |
||
Thread | Replies | Last Post |
Difference between CC MBA and Regular MBA? Which one is beneficial? Difference between LLM and LLB? | 5 | 31st May 2023 11:46 PM |
What is the academic difference between CBSE and ICSE board? Which board is easier to score? Any real difference in subjects from preparation stand point? | 38 | 3rd February 2020 07:31 PM |
Difference between MBA and regular MBA? Which one is beneficial? Difference between LLB and LLM? | 6 | 9th October 2013 06:36 PM |
Difference between Nautical Science and Marine Engineering? | 12 | 24th June 2013 08:14 PM |
What is difference between Information Technology and Computer Science branch in Engineering? Difference between B.Tech and B.E? | 24 | 13th August 2012 12:56 PM |
|