#1  
4th June 2011, 01:33 AM
VENGADESH22
 
Join Date: Jun 2011
Posts: 1

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, 09:37 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

which is the easy language to learn?
  #3  
28th July 2011, 12:52 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is difference between c c program and java program
  #4  
20th August 2011, 01:25 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is difference between multidimensional array in c and c and java
Reply With Quote
  #5  
21st August 2011, 12:15 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 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
Reply With Quote
  #6  
22nd August 2011, 01:50 AM
amaan khan ak
 
Join Date: Aug 2011
Location: bikaner
Posts: 579
Default Re: Difference between C, C++ and Java?

Quote:
Originally Posted by VENGADESH22 View Post
Difference between C, C++ and Java?....can you please list out some of the basic differences
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.
Reply With Quote
  #7  
22nd August 2011, 02:02 AM
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
which is the easy language to learn?
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
Reply With Quote
  #8  
22nd August 2011, 09:12 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

why java is platform independent language but c,c are not platform independent language????
Reply With Quote
  #9  
23rd August 2011, 01:45 AM
sandipk
Senior Member+
 
Join Date: Nov 2010
Posts: 840
Default 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..
....~~~
Reply With Quote
  #10  
26th August 2011, 09:57 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
why java is platform independent language but c,c are not platform independent language????

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.
Reply With Quote
  #11  
27th August 2011, 01:57 AM
ANIAAAAANNNNNIIIII00000
Senior Member
 
Join Date: Aug 2011
Posts: 487
Default 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.
Reply With Quote
  #12  
30th August 2011, 08:35 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
  #13  
5th September 2011, 12:54 AM
Unregistered
Guest
 
Posts: n/a
Default 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
Reply With Quote
  #14  
5th September 2011, 04:54 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what are the interfaces in the c language
Reply With Quote
  #15  
6th September 2011, 12:19 AM
manoj rajpurohit
Junior Member
 
Join Date: Feb 2011
Location: Bikaner
Posts: 352
Default 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.
Reply With Quote
  #16  
20th September 2011, 04:25 PM
hrushi614
 
Join Date: Aug 2011
Location: chennai
Posts: 388
Default Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
which is the easy language to learn?
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
Reply With Quote
  #17  
17th October 2011, 01:10 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

why java does not use pointer
Reply With Quote
  #18  
20th October 2011, 01:19 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

What is an object and a class?
Reply With Quote
  #19  
4th November 2011, 06:15 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is orientation of an object in java and c on c lauguage?
Reply With Quote
  #20  
8th November 2011, 04:00 PM
manas.europhia
Senior Member++
 
Join Date: Mar 2011
Location: Qr.No.- FR-99/8 ,SAILASHREE VIHAR , CHANDRASEKHAR PUR , BHUBANESWAR, ORISSA, PIN - 751021.
Posts: 1,540
Default 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
Reply With Quote
  #21  
8th November 2011, 04:08 PM
manas.europhia
Senior Member++
 
Join Date: Mar 2011
Location: Qr.No.- FR-99/8 ,SAILASHREE VIHAR , CHANDRASEKHAR PUR , BHUBANESWAR, ORISSA, PIN - 751021.
Posts: 1,540
Default 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.
Reply With Quote
  #22  
10th November 2011, 08:15 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

i want to first of all in main difference define a part or group
Reply With Quote
  #23  
28th November 2011, 07:31 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

what is the difference between c language and java language?
Reply With Quote
  #24  
29th November 2011, 08:01 PM
gauri2011
Senior Member+
 
Join Date: Jun 2011
Posts: 921
Default Re: Difference between C, C++ and Java?

Quote:
Originally Posted by VENGADESH22 View Post
Difference between C, C++ and Java?....can you please list out some of the basic differences
Dear Friend,

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.
Reply With Quote
  #25  
29th November 2011, 10:59 PM
venkataprakash.v
Senior Member+++++
 
Join Date: Dec 2010
Location: chennai.
Posts: 4,121
Default Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
what is the difference between c language and java language?
Difference between c language and java language :-

>>>>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.
Reply With Quote
  #26  
3rd February 2012, 02:47 PM
tuntunia
Senior Member
 
Join Date: Nov 2011
Posts: 462
Default 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.
Reply With Quote
  #27  
3rd February 2012, 08:20 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

in the above questions it is written that c is a procedure qriented language n structure oriented language which is crct wheather it is procedure or structure oriented
Reply With Quote
  #28  
23rd June 2012, 10:20 PM
navjotsidhupamal
Senior Member++
 
Join Date: May 2012
Location: ludhiana,punjab
Posts: 1,136
Default 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
Reply With Quote
Do you have any question? or have anything to say?



Related Topics:

Thread Replies Last Post
Difference between C, C++ and Java? 71 8th April 2019 01: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 11:56 AM
Difference between C, C++ and Java? 26 20th July 2012 12:57 PM
Main difference between C and Java? 20 12th February 2012 10:20 PM



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