#1  
3rd January 2011, 01:24 PM
rajkumarka
Junior Member
 
Join Date: Jan 2011
Posts: 1

Difference between C, C++ and JAVA?


difference between c c++ and java ? send me as soon as possible i m going to attend an interview day after tommorrow




  #2  
11th July 2011, 10:32 AM
rohitkumarramesh
Senior Member++++
 
Join Date: Jul 2010
Location: BIKANER
Posts: 2,266
Smile Re: Difference between C, C++ and JAVA?

Quote:
Originally Posted by rajkumarka View Post
difference between c c++ and java ? send me as soon as possible i m going to attend an interview day after tommorrow
C,C++ and java all three are programming languages. The basics
difference that comes in between these three languages are given
below.

C is a structured language. This language is platform dependent.
Platform dependent means you will not run any program of C from
one operating system to another operating system.

C++ is also platform dependent like C but this language is object
oriented language. By object oriented language you can easily
stop the flow of your program i.e from top to bottom or bottom to
top.You can also say that in C++ we use classes and objects thats
why it is object oriented.

Java is object oriented like C++ but this programming language is not
platform dependent. It is platform independent. This is because it generates
byte code when you run your program not the exe file thats why it is platform
independent.
  #3  
11th July 2011, 12:34 PM
venkataprakash.v
Senior Member+++++
 
Join Date: Dec 2010
Location: chennai.
Posts: 4,121
Post Re: Difference between C, C++ and JAVA?

Quote:
Originally Posted by rajkumarka View Post
difference between c c++ and java ? send me as soon as possible i m going to attend an interview day after tommorrow
Difference between C and Java :-
  • Java doesn't include the c unique statement keywords size of and typedef
  • Java doesn't contain the Datatype struct and union
  • Java doesn't defined the type modifiers keywords auto,extern,register,signed and unsigned.
  • Java doesn't support an Explicit Pointer type.
  • Java doesn't have a Pre-Processor(i.e #define,#include,#if def)
  • Java requires that the functions with no argument s must be declared empty paranthesis and not with the void keyword in C.

Difference between C++ and Java :-
  • Java doesn't support operator overloading
  • Java doesn't have template class has in C++
  • Java doesn't support multiple Inheritance.
  • Java doesn't support Global Variables.
  • Java doesn't use the Pointers
  • Java has replace Destructor function with a finalized function.
  • There are no header files in java.
  #4  
11th July 2011, 02:02 PM
raja badam
Senior Member
 
Join Date: Jun 2011
Location: machavaram,east godavari
Posts: 363
Thumbs up Re: Difference between C, C++ and JAVA?

Difference Between C And C++


First we have to know about C and C++

C++,as the name suggests is a super set of C.As a matter of fact,C++ can run most of C code while C can not run C++ code.

1.C follows the procedural programming paradigm while C++ is a multi-Paradigm

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 in inside structures in C++ but bot in C.

8.The Standard input&output functions differ in the two languages that is C use scanf & printf while C++ uses cin>> & cout<< as their respective input and output functions

9.C++ allows reference variable while c does not

Difference between C++ and Java

C++ was mainly designed for systems programming and Java was created initially support network computing
1.C++ supports pointers where as Java does not pointers.Java support restricted pointers.

2.Java is platform independent language but C++ is depends upon operating system machine etc.

3.Java uses Compiler and interpreter both and in C++ their is only compiler

4.Thread support built in java but not C++

5.Internet support is built in Java but not in C++

6.There is no "goto" Statement in java

7.Java does not support unsigned Integer

8.Java support call by value only

All the best for you
Reply With Quote
  #5  
14th July 2011, 12:30 PM
Senior Member
 
Join Date: Mar 2011
Location: bhubaneswar
Posts: 259
Default Re: Difference between C, C++ and JAVA?

hiiiiiiiiiii..........
all the basic concepts are there in c.
in c++ you can define data member out side a class.
but in java you have to define the data members within the class.
Reply With Quote
  #6  
2nd August 2011, 04:47 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

10 major difference between java and c
Reply With Quote
  #7  
19th August 2011, 10:16 PM
amaan khan ak
 
Join Date: Aug 2011
Location: bikaner
Posts: 579
Default Re: Difference between C, C++ and JAVA?

Quote:
Originally Posted by rajkumarka View Post
difference between c c++ and java ? send me as soon as possible i m going to attend an interview day after tommorrow
there are many similarities and dissimilarities.
1.c language is a structured language and its a platform depend language.its mean that the executable code cant run on other operating system.c language also a very hard programming language as compare to c++ and java.this is the drawbacks of c language.

2.c++ is a object oriented language.its also a platform dependent language.and the executable code could'nt be run on other oprating system.c++ is easier as compare to c language.

3.java is a purly object oriented language and its the easiest as compare to others.java is a platform independent language.

i hope u get ur answer.

##amaan##
Reply With Quote
  #8  
23rd August 2011, 02:13 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

java is not purly oop language coz its uses primitive data types...
Reply With Quote
  #9  
29th August 2011, 12:22 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

can any one plz explain cleary, what is mean by ADT,and about new keyword ?
Reply With Quote
  #10  
30th August 2011, 09:16 PM
tanmayeetripathy
Senior Member
 
Join Date: Aug 2011
Posts: 297
Default 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…
Reply With Quote
  #11  
31st August 2011, 01:52 AM
ashok880
Senior Member++++
 
Join Date: Sep 2010
Posts: 2,571
Default Re: Difference between C, C++ and JAVA?

Difference between c and c++:

There are a lot of differences between the two...some of these are as follows .....
1)C is a procedural language whereas C++ is an object oriented language.
2)C++ have exception handling mechanism , C does not have.
3)C has stdio.h header for I/O, C++ has iostream.h for I/O.
4)C++ supports inheritance, polymorphism, encapsulation.
5)C has classes in which default is private whereas C has structure where default is public.
6)C++ has templates.
7)C++ supports run time polymorphism.

Difference between c++ and Java:

Although both are object oriented programming language and Java was derived from C++ but still there is big difference between these two languages.

You can see the actual difference once you start programming on it.
But here i am going to give you few differences between these two...
1. Java does not support operator overloading
2. A class definition in Java looks similar to a class definition in C++, but there is no closing semicolon.
3. Forward reference declarations are not required in Java.
4. Scope resolution operator (: required in C++ is but not in Java.
5. In C++ you have to re-declare static data members outside the class but such things are not required in Java
etc...

Difference between c and java:

1)Java doesn't include the c unique statement keywords size of and typedef
2)Java doesn't contain the Datatype struct and union
3)Java doesn't defined the type modifiers keywords auto,extern,register,signed and unsigned.
4)Java doesn't support an Explicit Pointer type.
5)Java doesn't have a Pre-Processor(i.e #define,#include,#if def) 6)Java requires that the functions with no argument s must be declared empty paranthesis and not with the void keyword in C


Reply With Quote
  #12  
31st August 2011, 01:06 PM
mannu padda
 
Join Date: Aug 2011
Posts: 19
Default Re: Difference between C, C++ and JAVA?

Dear
c and c++ are the programming languages .
C is structure language and the c++ is the object oriented language by which we can design various programs
the java is the independent language and this language is run on designing the coding for that programme
Reply With Quote
  #13  
3rd September 2011, 04:13 PM
belide
Senior Member+++
 
Join Date: Aug 2011
Posts: 1,956
Default Re: Difference between C, C++ and JAVA?

In c you donot have user defined functions but you have them in c+,java..
c doesnot support inheritance..
but java,c++ supports inheritance..

c doesnot have objects and classes
but java,c++ has both..
java supports dynamic windows which is not supported by both c and c++
Reply With Quote
  #14  
10th September 2011, 08:24 PM
manoj rajpurohit
Junior Member
 
Join Date: Feb 2011
Location: Bikaner
Posts: 352
Default Re: Difference between C, C++ and JAVA?

dear friend

c is a structured language, it has no any property of the object oriented programming. it is a platform dependent language.

c++ is an object oriented language, it has the characteristics of the inheritance encapsulation, polymorphism, etc. it use class and object for execute the program.

java is a world wide language it is a platform independent language, this generate a byte code after compiling the source code. it has also the characteristics of the object oriented languages.
Reply With Quote
  #15  
22nd September 2011, 10:49 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

C supports inheritance, polymorphism, encapsulation.
C has classes in which default is private whereas C has structure where default is public.
C has templates.
C supports run time polymorphism.
java is a purly object oriented language and its the easiest as compare to others.java is a platform independent language.
java includes two type of programs,one is application and another one applets
Reply With Quote
  #16  
22nd September 2011, 10:56 PM
jishakp
 
Join Date: Sep 2011
Posts: 3
Default Re: Difference between C, C++ and JAVA?

java is a purly object oriented language and its the easiest as compare to others.java is a platform independent language.there are two types of programs used here one is application and another Applets


Source: http://entrance-exam.net/forum/general-discussion/difference-between-c-c-java-67115.html#ixzz1Yh8w9kRE
Reply With Quote
  #17  
22nd September 2011, 10:58 PM
jishakp
 
Join Date: Sep 2011
Posts: 3
Default Re: Difference between C, C++ and JAVA?

java is a purly object oriented language and its the easiest as compare to others.java is a platform independent language.there are two types of programs used here one is application and another Applets
Reply With Quote
  #18  
8th October 2011, 05:44 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

what is friend class ex
Reply With Quote
  #19  
24th October 2011, 09:32 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

differences b/w methodoverloading and method over riding
Reply With Quote
  #20  
29th January 2012, 08:22 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

what is difference between c,c .and java related to pointers ,arrays,reserved keywords and identifiers???
(pawan bacchak) plseee.... sir i need a lot of answer this question
Reply With Quote
  #21  
7th February 2012, 03:57 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

what are primitive datatypes?
Reply With Quote
  #22  
10th February 2012, 12:39 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

c is a general purpose and procedural language.
is a crucial systen performance language. it is the base for c and c .
Reply With Quote
  #23  
27th March 2012, 04:25 AM
 
Join Date: Mar 2012
Posts: 16
Question Re: Difference between C, C++ and JAVA?

Quote:
Originally Posted by venkataprakash.v View Post
Difference between C and Java :-
  • Java doesn't include the c unique statement keywords size of and typedef
  • Java doesn't contain the Datatype struct and union
  • Java doesn't defined the type modifiers keywords auto,extern,register,signed and unsigned.
  • Java doesn't support an Explicit Pointer type.
  • Java doesn't have a Pre-Processor(i.e #define,#include,#if def)
  • Java requires that the functions with no argument s must be declared empty paranthesis and not with the void keyword in C.

Difference between C++ and Java :-
  • Java doesn't support operator overloading
  • Java doesn't have template class has in C++
  • Java doesn't support multiple Inheritance.
  • Java doesn't support Global Variables.
  • Java doesn't use the Pointers
  • Java has replace Destructor function with a finalized function.
  • There are no header files in java.
for more u can see www.indiabix.com
Reply With Quote
  #24  
22nd August 2012, 11:11 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

Hai...
Can u tell me the 10 mejor difference between c,c and java..
Reply With Quote
  #25  
19th November 2012, 03:12 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

yes ...how can you say c language does not provide security..?
Reply With Quote
  #26  
16th February 2013, 01:55 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

hiiii pls tell me 10 major diffrences between c,c and java.......
Reply With Quote
  #27  
29th April 2013, 03:44 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and JAVA?

difference between c,c and java in table form
Reply With Quote
Do you have any question? or have anything to say?





Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Optimisation by vB Optimise.
Please also check: