#1
4th June 2011, 02:33 AM
|
|||
|
|||
Difference between C, C++ and Java?
Difference between C, C++ and Java?....can you please list out some of the basic differences
|
#2
25th July 2011, 10:37 PM
|
|||
|
|||
Re: Difference between C, C and Java?
which is the easy language to learn?
|
#3
28th July 2011, 01:52 PM
|
|||
|
|||
Re: Difference between C, C and Java?
what is difference between c c program and java program
|
#5
21st August 2011, 01:15 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Hello,
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. 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. Best wishes |
#6
22nd August 2011, 02:50 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
1.C is a structured language and its a platform dependent language it means the executable code cant be run on other operating system.Its the first language among in all three.The programming is hard as compare to c++ and java.C has top down approach. 2.c++ is also a very good language.its the advanced version of C language.Its also platform dependent language.C++ is an object oriented language. 3.The last one is java.Java is a very good language and its a growing language.There are many jobs are present for java programmer.java is a purely object oriented language.it means all functions are called with the help of class and objects.java is a very easy,robust,secure,portable language and easy to learn as compare to other languages. |
#7
22nd August 2011, 03:02 AM
|
|||
|
|||
Re: Difference between C, C and Java?
If u work hard for a perticular language then u can easily learn any type of language.there are many options for you to choose right language.
many programming languages are very good languages for future preference. Java .Net Php Orracle These are some languages which have many scope for future. I suggest u for java.Java is a very good language and easy to learn.Java takes less time to learn as compare to other languages.so do work hard.u'll get success. all the best |
#9
23rd August 2011, 02:45 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
--> C is a structured based language, where as C++ is a object oriented language and thats of java also support the OOPs concept.
--> In C++ the advance features added like:class, object,abstraction,inheritance,polymerphism,encaps ulation etc. , and java also, but C does not have these concept. --> in C the memory allocated to the variable is at the time of declaration but in C++ the memory allocated by system at the time of object creation only. --> now a days java is using broadly in frontend designing for it's advantages feature , it is developed by SUN Microsystem. For more you can reffer the text books also.. ....~~~ |
#10
26th August 2011, 10:57 PM
|
|||
|
|||
Re: Difference between C, C and Java?
Quote:
the main difference comes at using of Java Virtual Machine. c, c++ doesnt use JVM. JVM converts the source code into byte code and byte code into user understandable code. the byte code which is generated by JVM can be run on any platform. so only java is platform independent. |
#11
27th August 2011, 02:57 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Dear friend,
C is an procedure oriented language while other two are object oriented language. C and C++ are platform dependent while Java is platform independent.These are two major difference among these three languages. |
#12
30th August 2011, 09:35 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
JAVA IS NOT LIKE C BUT THE MAJOR DIFFERENCE BETWEEN JAVA AND C IS AS FOLLOWS:-
• JAVA IS COMPLETE OBJECT ORIENTED LANGUAGE AND HAS MECHANISM TO DEFINE CLASSES AND OBJECTS.WHERAS C DOESN’T . • JAVA DOES NOT SUPPORT AN EXPLICIT POINTER TYPE AS IN C++. • JAVA ADDS LABELLED “BREAK” AND “CONTINUE” STATEMENTS WHERAS C DOES NOT. • JAVA ADDS NEW OPERATORS SUCH AS ‘INSTANCEOF’ AND ‘>>>’ WHERAS C DOES NOT. • JAVA DOES NOT SUPPORT ANY MECHANISM FOR DEFINING VARIABLE ARGUMENTS TO FUNCTIONS. The major difference between java and c++ is as follows:- • IN C++ PRESENCE OF POINTER, REFERENCING AND DEREFERENCING OPERATOR WHILE ABSENCE OF POINTER AND THESE OPERATORS ON JAVA. • IN C++, CHARACTER TAKE 1 BYTE AND SUPPORTS ASCII CHARACTER WHILE IN JAVA CHARACTER SUPPORTS 2 BYTES AND SUPPORTS UNICODE. • IN C++, CLASS SPECIFIER IS TERMINATED BY ‘; ‘ WHERAS IN JAVA CLASS SPECIFIER ARE NOT TERMINATED BY’;’ • IN C++, NO CONCEPT OF MULTITHREADING WHERAS IN JAVA PRESENCE OF MULTI THREADING. • C++ SUPPORTS OPERATOR OVARLOADING WHERAS JAVA,SUPPORTS OPERATOR OVERLOADING. • JAVA DOES NOT HAVE TEMPLATE CLASSES AS IN C++. • THERE IS NO HEADER FILES IN JAVA AS IN C++. • C++ SUPPORTS MULTIPLE INHERITANCE WHERAS JAVA DOESN’T SUPPORT IT.IN JAVA THIS IS ACCOMPLISHED USING A NEW FEATURE CALLED “INTERFACE”. GOOD LUCK… |
#13
5th September 2011, 01:54 AM
|
|||
|
|||
Re: Difference between C, C and Java?
The difference between between c and c :
c is structure oriented.c is object oriented c use printf and scanf but in c we use cin and cout memory is allocated by using malloc() and dealloc(); but c use new and delete for memory allocation. c is Top-down apporach: c is bottom down apporach c use struct ,union but not c |
#15
6th September 2011, 01:19 AM
|
|||
|
|||
Re: Difference between C, C++ and Java?
c is a platform dependent language. and it is not an object oriented language. c is a structural language.c is comical up to down approach. It consists the pointer for allocating the memory.
c++ is an object oriented language. this language uses the class for hold the variables and the functions. java is a pure object oriented language. it is an platform independent language, means it generates the .class file after compiling the source code which is known as the byte code.this is potable file, and can run in any operating system. it never consist the pointer and never have the multiple inheritance. |
#16
20th September 2011, 05:25 PM
|
|||
|
|||
Re: Difference between C, C and Java?
hi friend,
C is a easy language to learn because it is only structure programming contains basic functions. Where as c++, java are object oriented languages. In c++, java there are classes, objects, polymorphysm which are difficult to learn |
#20
8th November 2011, 05:00 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
The difference between between c and c :
c is structure oriented.c is object oriented c use printf and scanf but in c we use cin and cout memory is allocated by using malloc() and dealloc(); but c use new and delete for memory allocation. c is Top-down apporach: c is bottom down apporach c use struct ,union but not c |
#21
8th November 2011, 05:08 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
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. 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. |
#24
29th November 2011, 09:01 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
Quote:
C language is a procedure oriented language which do not facilitate the property like data hiding,inheritance,overloading of functions and operator. Whereas C++ and Java is object oriented language and these language have properties like data hiding, inheritance, overloading of functions or method and operator. Java support networking whereas c and c++ does not. Java support Web Application bur c and c++ does not. |
#25
29th November 2011, 11:59 PM
|
|||
|
|||
Re: Difference between C, C and Java?
Quote:
>>>>C is a Structure Oriented Programming >>>>Java is a purely object oriented programming. >>>>C defined the keywords like Signed,auto,extern,register and unsigned. >>>>Java does not defined the type modifier keywords auto,extern,register,signed and unsigned. >>>>C language have a pre-processor like # define,#include,#ifdef. >>>>Java does not have a Pre-process(# define,#include,#ifdef). >>>>Java does not contain the data types Struct and Union but C contain the data types Struct and Union. >>>>C support an explicit pointers but java does not support the explicit pointers. >>>>Java requires that the functions with no arguments must be declared empty paranthesis and not with the void keyword in C. |
#26
3rd February 2012, 03:47 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
There is a big diffrence in among c,c++ and java
1.C is a structured language and its a platform dependent language it means the executable code cant be run on other operating system.Its the first language among in all three.The programming is hard as compare to c++ and java.C has top down approach. 2.c++ is also a very good language.its the advanced version of C language.Its also platform dependent language.C++ is an object oriented language. 3.The last one is java.Java is a very good language and its a growing language.There are many jobs are present for java programmer.java is a purely object oriented language.it means all functions are called with the help of class and objects.java is a very easy,robust,secure,portable language and easy to learn as compare to other languages. |
#28
23rd June 2012, 11:20 PM
|
|||
|
|||
Re: Difference between C, C++ and Java?
hi friend..!!
there is the Difference between C++ and Java: 1. C++ is object oriented programming. 2. Java is a purely object oriented program 3. Java does not support Global variables where as c++ support global variables. 4. Java does not use the pointers and there are pointers be used in c++. 5. Java does not support operator overloading whereas c++ use both function and operator overloading. 6. Java does not have template classes whereas c++ has templates. Difference between C and Java: 1. C is a structure oriented program. 2. Java does not support explicit pointer type where as in c,there are explicit pointers . 3. Java does not define the type modifiers keywords auto,extern,register,signed & unsigned. Best wishes...!!navjot |
Related Topics: |
||
Thread | Replies | Last Post |
Main difference between C and Java? | 21 | 17th June 2023 07:01 PM |
Difference between C, C++ and Java? | 71 | 8th April 2019 02:02 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 |
Difference between C, C++ and Java? | 26 | 20th July 2012 01:57 PM |
|