#1
21st June 2010, 02:15 PM
|
|||
|
|||
Difference between C, C++ and Java?
Sir/Madam,
I have completed my B.E(ECE). but still i am very intrest in software. day after tomorow 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. Thank u, P.Manikandan. |
#2
29th June 2010, 05:30 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Dear friend,
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! |
#3
29th June 2010, 06:05 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
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. |
#6
5th July 2010, 03:55 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
Firstly comes the language A i.e. Algol and then comes B i.e. Basic programming language then comes the BCPL i.e. basic combined programming Language. Then after that the language C comes i.e. Combined programming language. and C++ is advanced form of C language. This is one of the main question which is always asked in interviews. Hope this information will help you. |
#9
15th August 2010, 08:04 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
hello dear
C, C++ and Java all of are computer programming languages. where c is basic programming languages where as java is modern programming language. c++ and java is a object oriented programming, where c is not. all the best......... |
#10
16th August 2010, 12:03 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
dear student,
c is a structure programming language where as c++ & java is object oriented programming language,c is the fundamental languge,while c++ and java is advance.keep practicing starting with c. best of luck |
#11
16th August 2010, 04:15 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Dear frnd,
All these are programming languages.now dese languages are of 2 types.n C,C++,JAVA are al different languages.bt basically C is the most basic language to hv a knowledge of other languages.dey al are related to one another in some way or the other.hp its clear to u now. ALL THE BEST!!!!!!1 |
#12
19th August 2010, 03:30 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Hello Friend
C is basically a procedural language and has the concepts of pointers.... Whereas in C++ ,it is object oriented language and JAVA is completely a object oriented language and is platform independent and supports inheritance... Hop you have understand the basic difference between C,C++ and JAVA... Best Wishes!! |
#13
21st August 2010, 07:31 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Dear friend,
if u can follow some good writer's book on C by Kanitkar, C++ by Kanitkar, Java by Shield u can get clear answers . however,Programming languages can be of two types, namely: 1. Function-based Programming Language. 2. Object-oriented Programming Language. C is a Function-based programming language and doesn't have object-oriented features in it. whereas, C++ supports both modular and object-oriented features. Java is also a object-oriented language as it doesn't allow modular programming. In Java every object has to be defined in terms of a class. Best of luck |
#15
21st October 2010, 10:28 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Java
Java is an pure object oriented programming language, it uses the concepts of Classes, Objects, Inheritance, Polymorphism. And the execution of a program is non-linear. It is so called because you can't write a program with out using classes & objects. Java's motto (so to speak) is "write once run anywhere". When you compile a Java program, an intermediate bytecode is generated, which itself is interpreted by the Java Virtual Machine. This way you write a program once, and the virtual machine translates the bytecode into instructions a specific processor can understand. Execution of a Java program is by consequence a bit slow, because the intermediate bytecode has to be interpreted. Java uses a "Garbage Collector" which manages memory automatically so the programmer doesn't have to handle that. Variables in Java can be declared anywhere in a program. (Although it is recommended to declare/ define them at the beginning of blocks). Reuse of code achieved by inheritance. By default members are private. During the execution of bytecode by JVM, it does not substitute the entire classes of package which are imported in the program. It just enters the package and executes the class and returns result in to the program. Due to this less memory is used by java program. Java introduced reflection Reflection gives your code access to internal information for classes loaded into the JVM and allows you to write code that works with classes selected during execution, not in the source code. This makes reflection a great tool for building flexible applications. But if you used reflection inappropriately, reflection can be costly C C uses concept of structures (not object oriented). In C we use the concept of pointers whereas there are no pointers used in JAVA In C the programmer needs to manage memory manually. "malloc()" and "free()" are the fundamental memory allocation library calls. In C the declaration of variables should be on the beginning of the block. C supports go to statement, struct and union unlike Java C is compiled to the machines "native language" so it's execution is much faster than Java's. No reuse in code and by default members are public. C programs will have a larger memory footprint than an equivalent program written in pure machine code, but the total memory use of a C program is much smaller than the a Java program because C does not require the loading of an execution interpreter like the JVM. The main differences between Java and C are speed, portability, and object-orientation. Java was created for the purpose of making a language that could be implemented on many different types of computers (cell phone, mac, PC, linux, etc.) C on the other hand can only be run on a computer of the same type as the one that compiled the program. One of the costs of this portability in Java is speed. On numerous benchmarks Java still lags behind C in terms of speed, but that gap is narrowing. Java is also object- oriented, whereas C is not. Java allows a user to create classes that contain data and methods. C is not capable of doing that. |
#16
11th November 2010, 12:39 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
These three are the computer languages.
C is modular programming language C++ is an advanced version of C, it is a modular and object-oriented language, while Java is only object oriented language. For C++ you can reffer a book C++by Sumitha Arora it is a nice book for C++. |
#18
2nd December 2010, 12:33 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
C and C++ are medium level languages developed by Bell laboratories.
Java and Blue J are high level languages. C is a basic level languages which is used less now a days according to the demand where as C++ and Java are object oriented language which provides multi threading capability and doesn't support operator overloading which is supported by the C language. |
#24
10th April 2011, 03:37 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. thank |
#25
10th April 2011, 03:44 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Hi friend,
you asked a nice question. c program is a basic version of programming language. In c you will have a concept named variable++ = variable + 1. In similar concept only C++ is formed and named. It is same as c with some more improvements. Java is another programming language which is so advanced and nowadays mostly used. It is an object oriented programming language like c++. |
#27
13th April 2011, 04:46 PM
|
|||
|
|||
Re: Difference between C, C and Java?
Its better to start with c language. If you have ability to learn c, then you can easily learn any other languages.
|
#35
17th June 2011, 06:22 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
|
#36
26th June 2011, 01:03 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
C is a basic programming, which is devloped in T&Bell laboratory,
But C++ and Java is object oriented programming, we can say it is advanced version of C language. |
#37
29th June 2011, 12:10 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
java is most advanced among three. c++ is advanced than c. c is first language after assembly. and all these have their own library of functions used for our required.
|
#38
2nd July 2011, 02:41 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
c language:
1. c is an completly structured oriented programing lagurage. 2.this is task oriended. C++ language: 1. c++ is not purely objected oriented programing laguage. 2. this is less secuted laguage compared to java. java laguage: 1. java is a pure object oriented programing laguage. 2. java highly secured programing language. |
#41
16th July 2011, 01:50 AM
|
|||
|
|||
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 |
#45
31st July 2011, 08:07 PM
|
|||
|
|||
Re:
dear friend,
The differences between the C++ and Java programming languages can be traced to their heritage, as they have different design goals. C++ was designed for systems and applications programming, extending the C programming language. To this procedural programming language designed for efficient execution, C++ has added support for statically-typed object-oriented programming, exception handling, scoped resource management, and generic programming, in particular. It also added a standard library which includes generic containers and algorithms. Java was created initially as an interpreter for printing systems but grew to support network computing. Sun Microsystems used it for the basis of their "HotJava" thin client system. It relies on a virtual machine to be secure and highly portable. It is bundled with an extensive library designed to provide a complete abstraction of the underlying platform. Java is a statically-typed object-oriented language that uses a syntax similar to C++, but is not compatible with it. It was designed from scratch, with the goal of being easy to use and accessible to a wider audience. all the best.......... |
#46
31st July 2011, 09:55 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Difference between C, C++ and Java?
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. |
#47
31st July 2011, 10:13 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Difference between C, C++ and Java?
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. |
#49
20th August 2011, 02:26 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
1.c language is a structured language.it used pointer.its a top down approachComplex functionality such as I/O.hard programmnig as compare to java and c++ languages.c is a platform dependent language so the executable code couldnt run on other operating system. 2.c++ is the advanced version of c language.its also a platform dependent langauge that why the executable code couldnt run on any other oprating system.its a object oriented language. 3.java is a pure object oriented language.java is a platform independent language.so byte code can be run on any other oprating system.java is easy,robust,secure,portable language. |
#50
29th August 2011, 03:16 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Hello,
Difference between C and Java: 1. C is a structure oriented program. 2. Java does not support explicit pointer type. 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 define the type modifiers keywords auto,extern,register,signed & unsigned. Difference between C++ and Java: 1. C++ is object oriented program. 2. Java is a purely object oriented program 3. Java does not support Global variables 4. Java does not use the pointers 5. Java does not support operator overloading 6. Java does not template classes as in C++. 7. Java has replaced the destructor function with a finalize function. Best wishes |
Related Topics: |
||
Thread | Replies | Last Post |
List of project topics in Java? | 122 | 19th January 2015 12:16 AM |
|