#1  
21st June 2010, 01:15 PM
Unregistered
Guest
 
Posts: n/a

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, 04:30 PM
sparkle
Senior Member+++
 
Join Date: Jun 2010
Location: kolkata
Posts: 1,734
Default 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, 05:05 PM
rahul k
Senior Member+++++
 
Join Date: Feb 2010
Location: Rishikesh, Uttranchal
Posts: 9,724
Default 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.




  #4  
30th June 2010, 08:03 PM
drdo99
Banned
 
Join Date: May 2010
Posts: 773
Default Re: Difference between C, C++ and Java?

there are not much difference in language priority.
yes java is more better than c++.
while c++ is efficent than c.
you need to learn c properly to tackle the other languages.
Reply With Quote
  #5  
2nd July 2010, 06:11 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

ANY SPECIAL DIFFERENT BETWEEN C,C ,JAVA
Reply With Quote
  #6  
5th July 2010, 02:55 PM
Shagun Makin
Senior Member
 
Join Date: Jul 2010
Location: Dehradun,Uttarakhand
Posts: 469
Default Re: Difference between C, C++ and Java?

Quote:
Originally Posted by Unregistered View Post
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.
Dear C++ is advanced form of C.
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.
Reply With Quote
  #7  
6th July 2010, 10:02 PM
pinnache
Senior Member
 
Join Date: Jun 2010
Posts: 269
Default Re: Difference between C, C++ and Java?

they are vivid,starting from language interpretation
they get the accreditation of ibm and microsoft
Reply With Quote
  #8  
16th July 2010, 12:24 AM
9A2M00
Senior Member+
 
Join Date: May 2010
Posts: 538
Default Re: Difference between C, C++ and Java?

C is a modular programming language and doesn't have object-oriented features in it.
whereas, C++ supports both modular and object-oriented features.
Reply With Quote
  #9  
15th August 2010, 07:04 PM
solution
Senior Member++++
 
Join Date: Jul 2010
Posts: 3,164
Default 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.........
Reply With Quote
  #10  
16th August 2010, 11:03 AM
jiyaa
Senior Member
 
Join Date: Aug 2010
Posts: 130
Default 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
Reply With Quote
  #11  
16th August 2010, 03:15 PM
Adarshxxx
Senior Member+
 
Join Date: Aug 2010
Posts: 868
Default 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
Reply With Quote
  #12  
19th August 2010, 02:30 AM
subhasish
Senior Member++
 
Join Date: Mar 2010
Location: Jharkhand
Posts: 2,895
Default 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!!
Reply With Quote
  #13  
21st August 2010, 06:31 PM
Bishwajit Giri
Senior Member+++++
 
Join Date: Aug 2010
Location: Kolkata,West Bengal,India
Posts: 2,787
Default 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
Reply With Quote
  #14  
10th October 2010, 01:23 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

i need to study languages but i dont know which is best java or c/c ?
Reply With Quote
  #15  
21st October 2010, 09:28 PM
rahul_kumar066
Senior Member
 
Join Date: Oct 2010
Location: jhumri telaiya
Posts: 568
Default 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.
Reply With Quote
  #16  
11th November 2010, 11:39 AM
megha ram singh
Junior Member
 
Join Date: Nov 2010
Location: New Delhi
Posts: 296
Smile 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++.
Reply With Quote
  #17  
24th November 2010, 03:24 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

Thank u so much to all.
The information is very usefull.
Reply With Quote
  #18  
2nd December 2010, 11:33 AM
jits
Senior Member++++
 
Join Date: Nov 2010
Location: Visakhapatnam
Posts: 1,434
Default 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.
Reply With Quote
  #19  
7th February 2011, 01:24 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is the difference between bubble sort and quick sort
Reply With Quote
  #20  
4th March 2011, 08:24 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is the main diffrence between c,c ,java
Reply With Quote
  #21  
15th March 2011, 11:11 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

pls provide some features of java for beginners
Reply With Quote
  #22  
25th March 2011, 12:43 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

If I am a beginner in all three of these, which should I start with C, C or Java?
Reply With Quote
  #23  
9th April 2011, 10:54 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

compilation and runtime mean wat
Reply With Quote
  #24  
10th April 2011, 02:37 PM
akkilala
Member+
 
Join Date: Apr 2011
Posts: 358
Default 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
Reply With Quote
  #25  
10th April 2011, 02:44 PM
balathegreat
Senior Member+
 
Join Date: Mar 2011
Posts: 868
Thumbs up 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++.
Reply With Quote
  #26  
13th April 2011, 01:37 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

java dies not support multiple inheritence? why?
Reply With Quote
  #27  
13th April 2011, 03:46 PM
sureshcbe
Member+
 
Join Date: Apr 2011
Posts: 371
Default Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
If I am a beginner in all three of these, which should I start with C, C++ or Java?
Its better to start with c language. If you have ability to learn c, then you can easily learn any other languages.
Reply With Quote
  #28  
22nd April 2011, 11:03 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

in c what is the program of average of 6 numbers?
Reply With Quote
  #29  
24th April 2011, 11:59 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is inner work of JVM?
Reply With Quote
  #30  
27th April 2011, 12:51 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

What is need of java to take place after C and C
Reply With Quote
  #31  
3rd May 2011, 02:15 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

difference between structure and union
Reply With Quote
  #32  
13th June 2011, 05:45 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is mean by cloud computing
Reply With Quote
  #33  
13th June 2011, 11:24 AM
nurujjaman
Guest
 
Posts: n/a
Default Difference between C, C++ and Java?

Sir/Madam,
I want to know what is the difference between c, c++ & java.
Reply With Quote
  #34  
13th June 2011, 07:20 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

java stands for?
Reply With Quote
  #35  
17th June 2011, 05:22 PM
kartavya99
Senior Member
 
Join Date: Apr 2011
Location: banglore
Posts: 432
Default Re: Difference between C, C++ and Java?

Quote:
Originally Posted by Unregistered View Post
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.
it doesnt matter whether you are geting joined but keep in mind that you are in your interested field.
Reply With Quote
  #36  
26th June 2011, 12:03 PM
amit gaur2065
Senior Member
 
Join Date: Jun 2011
Location: Hathras,Aligarh,Allahabad
Posts: 513
Default 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.
Reply With Quote
  #37  
29th June 2011, 11:10 AM
kartavya99
Senior Member
 
Join Date: Apr 2011
Location: banglore
Posts: 432
Default 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.
Reply With Quote
  #38  
2nd July 2011, 01:41 PM
vinnycrm
 
Join Date: Jul 2011
Posts: 1
Smile 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.
Reply With Quote
  #39  
6th July 2011, 08:01 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is cloud computing? what are the advantages of it
Reply With Quote
  #40  
10th July 2011, 10:13 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
If I am a beginner in all three of these, which should I start with C, C or Java?
you must start vid c...
Reply With Quote
  #41  
16th July 2011, 12:50 AM
shekhar.379
Member
 
Join Date: Jul 2011
Posts: 189
Default 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
Reply With Quote
  #42  
21st July 2011, 11:40 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

c is procedural language or structured oriented language? which is mainly called?
Reply With Quote
  #43  
23rd July 2011, 12:46 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

differenciate the c,c ,java
Reply With Quote
  #44  
31st July 2011, 04:31 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

tnk u so m uch 2 all,.,.all ans r very usefull 2 me ,.,
Reply With Quote
  #45  
31st July 2011, 07:07 PM
aroy8091
 
Join Date: Jul 2011
Posts: 303
Default 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..........
Reply With Quote
  #46  
31st July 2011, 08:55 PM
ankur049
 
Join Date: Jul 2011
Posts: 29
Default 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.
Reply With Quote
  #47  
31st July 2011, 09:13 PM
ajeetajeet1250
Senior Member
 
Join Date: Jul 2011
Posts: 114
Default 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.
Reply With Quote
  #48  
16th August 2011, 05:19 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is the main difference between the servlets and jsp
Reply With Quote
  #49  
20th August 2011, 01:26 PM
amaan khan ak
 
Join Date: Aug 2011
Location: bikaner
Posts: 579
Default Re: Difference between C, C++ and Java?

Quote:
Originally Posted by Unregistered View Post
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.
there are many similarities and dissimilarities here

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.
Reply With Quote
  #50  
29th August 2011, 02:16 AM
balafederer
Senior Member+
 
Join Date: Jul 2011
Posts: 813
Default 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
Reply With Quote
Do you have any question? or have anything to say?



Related Topics:

Thread Replies Last Post
List of project topics in Java? 122 18th January 2015 11:16 PM



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