#1
25th July 2011, 10:16 PM
|
|||
|
|||
Difference between Java, C++ and C Language?
Could u please mention to me the difference between java,c++ and c language
|
#2
9th August 2011, 02:03 AM
|
|||
|
|||
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 |
#3
18th August 2011, 05:56 PM
|
|||
|
|||
Re: Difference between Java, C and C Language?
what is the difference between programme,subprogramme,module?
|
#4
18th August 2011, 11:14 PM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
Difference between C and C++:
C++ is an extension of C language. This means that you can not only use the new features introduced with C++ but can also use the power and efficiency of C language. C and C++ are no more language for writing compilers and other languages, these general purpose languages are used worldwide in every field. Here is a list of differences between c and c++. The main difference between C and C++ is that C++ is object oriented while C is function or procedure oriented. Object oriented programming paradigm is focused on writing programs that are more readable and maintainable. It also helps the reuse of code by packaging a group of similar objects or using the concept of component programming model. It helps thinking in a logical way by using the concept of real world concepts of objects, inheritance and polymorphism. It should be noted that there are also some drawbacks of such features. For example using polymorphism in a program can slow down the performance of that program. On the other hand, functional and procedural programming focus primarily on the actions and events, and the programming model focuses on the logical assertions that trigger execution of program code. Difference Between C++ and Java: The main difference between C++ and Java is that,the feature present is C++ will not work in Java. Example
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. |
#5
18th August 2011, 11:51 PM
|
|||
|
|||
Re: Difference between Java, C and C Language?
Quote:
java also used syntax of c language and java used object oriented property of c++. c++ and java used almost same properties of object oriented principle. |
#6
19th August 2011, 12:10 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
Hello,
C is a structure oriented program C++ is a object oriented program Java is a purely object oriented program Difference between C++ and Java: 1. Java doesn't support operator overloading 2. Java doesn't template classes as in c++ 3. Java doesn't support multiple inheritance 4. Java doesn't support Global pointers 5. Java doesn't support pointers 6. Java has replaced the destructor function with a finalize function. Difference between C and C++: 1. C is a top down approach and c++ is a bottom up approach. 2. C does not support overloading but C++ supports 3. C++ support classes but c does not support it. Difference between C and Java: 1. Java doesn't include the C language the c unique statement keyword size of 'type def' 2. Java does not support an explicit pointer type 3. Java does not the data type struct and union. 4. Java does not have a pre processor Best wishes |
#7
19th August 2011, 01:18 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
Quote:
C and C++ are almost same..its just that C++ has a slightly different syntax than C and has overcome most of the shortcomings of C.. whereas JAVA is a totally different language of computer.. hope this helps.. |
#8
19th August 2011, 03:48 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
There is so much difference B/w C, C++ and Java.
C is called mother of C++ & Java. The C language was developed for earlier Computing programming, but then there was so much Difficulty in C. There was nothing like Inheritence. so because of that, if we want to use an existing code in any another program, we have to write whole code again, which surly takes a lot of time and also consumes so much memory. so, to Overcome this problem, C++ was developed. C++ was developed with the technology, which was not available in C language. The main Funda of the C++ is Object Orientation. funda of Class & Objet is used. Now, one class can be inherited in another program without retyping the whole code. we have to just Inherit that class, whose propetied we want to use. But, still there was problem with C++, that it was plateform Dependent. the applications, written in C++ can run only on Window's OS n also there was lake of Security. Graphics problem is also arised. So, now to Overcome from these problem's Java was Invented. As, at this time, when Java was invented, people were Familiar with C & C++, so by keeping those in mind, Java was created by inheriting C & C++ properties. now, Java derives its Syntax from C & Object Oriented properties from C++. Security is also implemented in Java. n also GUI applications are now possible to implement, which was not possible with C & C++.... so this was the Basic Funda behind Invention of Various Languages n also can be taken as Difference b/w C, C++ & Java. I hope, it wud help U, n also ur confusion about creation of these languages is solved. Gud luck... |
#9
19th August 2011, 05:22 AM
|
|||
|
|||
Re: Difference between Java, C and C Language?
Quote:
Sub-Program : sub-program can be taken as Function. A function is a form of Sub-program. Module : when large projects are created, project is divided into small parts n then each part is assigned to a team. this small part of a large project is itself a program, which has its own work n independent fro each other at this time. this small part of a large project is called Module. when all modules are designed and tested independently, they all are reconstructed or integrated to fullfill the requirement of Project. now at this stage, these modules, depends on other modules of the same project as they are integrated now. |
#10
19th August 2011, 09:08 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
c:-
**it is computer language . **it is introduced in 1972 by dennis ritchie at bell laboraties **it is a structure oriented language **it is case sensitive c++ and java:- **both are object oriented languages **it is the advancement of c language **some features add to the c and then get c++ **it is introduced in 1980 **it has extra special concepts |
#11
19th August 2011, 04:35 PM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
C is the basic programming language and the program is made of the combination of the structure .
It is easy to construct simple and medium sized program very easily and efficiently C++ is object oriented programming language anf the program is made from the combination of different clasees C++ is advanced version of C programming ,it rectifies the defect in the C programming . JAVA is a combination of the both c and c++ and is used now a days for programming . Itz is very much efficient when compared to Cand C ++ |
#13
20th August 2011, 12:34 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
the basic diff in these three is that c is procesured programming language and c++ is the object oriented programming lan........and java is the language which combine both c & c++ tokens and also the basic includement of the data structures in wide sense...
|
#14
12th September 2011, 11:51 PM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
c is a structured language, it is also a procedural language. it contain all the datatype and the pointers for holding and assigning the memory to the variables.
c has no any class and the object. c++ is a object oriented language, it has bottom to down approach. it follow all the characteristics of the OOP language like inheritance, encapsulation, polymorphism. java is a pure OOP language, it has all the characteristics of the OOP like the c++, it is the best language in the world in now a days., it consists a byte code which is portable file and can run on any platform. |
#15
5th October 2011, 02:51 AM
|
|||
|
|||
Re: Difference between Java, C++ and C Language?
Quote:
C++ adds classes to this list. and Java only implements one of these data types: classes 2)C has no built-in string data type. The standard technique adopted among C programmers is that of using null-terminated arrays of characters to represent strings. This practice if often seen in C++ programs too. Neither C++ or Java have string as a primitive type, but they do both have string objects that are a standard part of the language. In Java this type is called String, and in C++ it is called CString. |
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 Electronics and Communication Engineering and Electronics and Telecommunication Engineering? What is the scope of CSE now and after 4 years? | 14 | 6th February 2014 12:50 AM |
Difference between MBA and regular MBA? Which one is beneficial? Difference between LLB and LLM? | 6 | 9th October 2013 06:36 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 |
|