#1
24th December 2010, 11:28 PM
|
|||
|
|||
Difference between C, C++ and Java?
Please tell what s the difference between c and c++ and java
|
#2
26th December 2010, 10:58 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Dear Friend
C is a structured or procedural oriented language. C++ is a object oriented language. And Java is a combination of C and C++. C and C++ have Supports pointers But JAVA Will not Support Pointers. So, C is geared towards procedural programming. C and C++ both compile to native machine code but Java generally compiles to Java bytecode. So, if you want to get more Difference between C, C++ AND Java. Then please read the given attach file - |
#3
26th December 2010, 11:02 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
This is the main different between c and c++. and about JAVA
|
#4
26th December 2010, 11:40 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
*Difference Between C,C++ and Java
-->C is a modular programming language and doesn't have object-oriented features in it. -->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. -->Programming languages are of two types, namely; (a). Modular or function-based Programming Language (b). Object-oriented Programming Language. (a). Modular Programming Language: A programming language is called Modular if it supports methods. A method or a function is a block or section of code that is logically associated with each other. This section or block of code has got its specific or particular name. Whenever a programmer wants to execute the specific block of code s/he used the name of that particular section or block of code. (b). Object-oriented Programming Language: A programming language is called Object oriented if it has the support to create or develop classes in it. Class is an abstraction of a real-world object and is used to define the characteristics, qualities and actions performed by the object for which the class is written Best of luck |
#5
26th December 2010, 11:41 PM
|
|||
|
|||
Difference between C, C++ and Java?
Friend,
The question that you have asked is a very common question among the students.Happy that you have posted such query!! Well,C, C++ and Java are the programming languages.These programming languages are of two types:Modular Programming Language and Object Oriented Programming Language. A language is said to Modular if it is supported by some methods or functions.In such methods,certain codes are linked with each other and each code has a specific name.An example of this type of language is nothing but C Another type of programming language is an Object oriented programming language in which it has the capability to create or improve classes.Classes describe the behavior of Objects(group of data).Java comes under this category Whereas C++ supports both the types of Programming languages. The clear cut comparison of the three languages can be seen in the following page: http://www.programmersheaven.com/2/FAQ-JAVA-Differences-Between-JAVA-And-C-CPP Hope,now you get an idea about the differences of these languages!! |
#6
27th December 2010, 12:11 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Dear friend,
C is the procedure oriented language,data structure and some graphics programs are devolped by C language... C++ is a object oriented programming language,which is use to devolop any object oriented program like,windows programming etc... Java is object oriented as well as procedure oriented language,which is broadly used to devolop computer Games... Visual basic is an another importent programming language which is use to create any software setup... |
#7
27th December 2010, 01:01 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Hi dear '
Well it is very basic question in any interview so i am giving you the complete difference between C,C++,JAVA 1. C :- c langauge is the structured or procedural oriented language, initally c langauge come having so many drawback like not able to support classes ,object and all oop concept so c langauge is not fullfill all concept of object oriented langauge. 2. c++:- To fullfill all drawback of c langauge c++ has been devloped but this langauge is also not fully object oriented . 3. JAVA :- java is fully object oriented langause because it fullfill all the concept oop like ,constrctor,distractor,pointers but c and c++ not support pointers , JAVA also support bytecode because these bytecode will run on any computer not on perticular computer that why they are call it as JVM C and C++ both compile to native machine code but Java generally compiles to Java bytecode. good luck. |
#8
27th December 2010, 08:10 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
hii
Difference between C, C++ and Java C is a structured or procedural oriented language. C++ is a object oriented language. And Java is a combination of C and C++. C and C++ have Supports pointers But JAVA Will not Support Pointers. So, C is geared towards procedural programming. C and C++ both compile to native machine code but Java generally compiles to Java bytecode. good luck. . |
#9
27th December 2010, 02:27 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Both are different programming languages.
C is a Modular,it is supported by some methods or functions, codes.They are linked with each other and each code has a specific name. C++ is an object oriented programming language and moreover we say it is an advanced and successful verson of Language C. JAVA is more advanced verson in modern world.JAVA is invented for application tools like washing machines,vacuum cleaner,digital micro oven etc. etc. application tools.Inside the PLC controller is JAVA language.Presently JAVA is used for mobile application,Games etc etc. All the best. |
#10
27th December 2010, 09:05 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
C++ is also called as an object oriented programming language.Its a newer or next version of C language and completely object oriented. Java is also known as an object oriented progrmming language.In all the three programming languages Java is the most happening and newer version.This is most advanced programmng language.All the games or grapjics apllications can be done through Java. |
#11
28th December 2010, 10:05 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Useful answers by our honourable members; I'd like to add just one thing about JAVA that makes it sort of superior to 'C' & 'C++'
JAVA is based on some principles which include Data abstraction, handling, polymorphism. Overall, the ease of programming that JAVA offers, is quite better than C or C++, because the former requires lesser training. JAVA is actually one step in the series of RAD (Rapid application development) tools so that efficient and powerful applications can be designed with greater ease, involving less number of programmers, and under lesser timeframe. Recent programs like NetBeans IDE for JAVA provide the GUI system while following the classical JAVA command line. |
#13
4th May 2011, 01:59 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
hi friend,
C,C++ and Java are all computer languages. C Language:-->It is procedural language. -->it is very complicated to do complex programs. --> So ,we went to object oriented, C++ C++ Language:--> It is object oriented. --> it supports pointers. --> IT is to make large applications. --> Many graphics concept are done in C++. Java Language:--> It is platform independent. ie) it can run under any operating system. -->It does not support pointers,and multiple inheritance. --> But multiple inheritance can be made by other ways. These are some of the differences between C,C++ and Java. |
#21
24th August 2011, 02:48 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Hello,
Difference between C++ and java: 1. Java is a purely object oriented program. 2. C++ is a object oriented program. 3. Java has replace the destructor function with a finalize function. 4. Java does not support pointers 5. C++ has Global variables but Java doesn't have. 6. C++ has templates classes but java doesn't have. Difference C and Java: 1. C is a structure oriented program. 2. Java does not the data type union and struct. 3. Java requires that the functions with number arguments must be declared empty paranthesis and not with the void keyword in C. 4. Java does not have a pre - processor. Best wishes |
#22
24th August 2011, 11:46 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
C is a structured language and its top down approach. C is a modulator language and its not support object oriented property.Its a top dawn approach. There are so many drawbacks with the use of C language so its not use now in the market The programming is also hard as compare to c++ and java language. C++ is a object oriented language.It support oop characterstics.The programming is easy as compaer to C language. The last and third one is java programming language which is the best language at present. Java uses the concepts of both C and C++ languages. Java use syntax of C language and methods of C++. Java is a purely object oriented language.its programming is so easy as compare to both the languages. |
#23
12th September 2011, 11:42 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
c is a structured and procedured language. it is the base of all the programming languages.
c is the top to down approach language. it has no any class and the objects. c++ is a object oriented language, it is a class based language, all the variables and the function are holded by the class. it is a bottom to up approach language. Java is a pure object oriented language, it is fully platform independent language. java has a very huge field in the software field, it provide a big scope in the IT sector. |
#25
26th September 2011, 10:50 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
|
#26
3rd February 2012, 01:43 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Actually c is a procedural programming language which cann't face the real world problem.
It has some drawback like a global data is shared by all function and if in a large program it is find out difficult that which function uses which data. On the other hand c++ is an object oriented programming language which eliminate some pitfall of conventional or procedural programming language. It is a concept or approach for designing a new software. It is nothing to do with any programming language although a programming language which support the oops concept to make it easier to implement. This is the main different between c and c++. and about JAVA Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing. |
#27
20th July 2012, 01:57 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
java does not support pointers. c and c++ supports pointers. |
|