#51  
29th August 2011, 03:21 PM
ANIAAAAANNNNNIIIII00000
Senior Member
 
Join Date: Aug 2011
Posts: 487
Default Re: Difference between C, C++ and Java?

Dear friend,
As you said that you are very interested in software,I happy to inform you that there are lots of job opportunities in software.
Now coming to the point,difference between C,C++ and Java.First you need to remember that C is the basic of all other programing language and the differences are as below,
>>C is a procedure oriented language,while other two are object oriented language.
>>C and C++ is platform dependent while Java is platform independent.
>>C has pointer while other two do not have pointers.
These are the main difference between these three languages,there more difference also but those are not important.
Hope I help you.
Reply With Quote
  #52  
31st August 2011, 12:40 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

I have interview in CTS wat they ask in related to the technical questions?
Reply With Quote
  #53  
31st August 2011, 11:13 PM
cool.cristae
 
Join Date: Aug 2011
Posts: 308
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
  #54  
2nd September 2011, 06:50 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

very gud info .. n its verry useful..
thanks for posting guys ..
gud luck ,,
Reply With Quote
  #55  
11th September 2011, 12:57 AM
manoj rajpurohit
Junior Member
 
Join Date: Feb 2011
Location: Bikaner
Posts: 352
Default Re: Difference between C, C++ and Java?

c language:-

this is a structured language, this is not an object oriented language.
this language is the base of all the programming languages.
it doesn't contain any class and the object.

c++ :-

this is an object oriented language. it is a platform dependent language. so it follow all the uncharacteristic of OOP like inheritance, encapsulation, and poly morphism.
it also contain the class and object.

JAVA

java is a world wide language. it is a platform independent language.
it also have the characteristics of the OOP like inheritance, encapsulation, and polymorphism.
Reply With Quote
  #56  
12th September 2011, 12:02 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

THANK U 4 all its very usefull to study java coures
Reply With Quote
  #57  
14th September 2011, 10:33 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

Difference Between C, C , and Java

1. C is Procedure Oriented Programming Language,
C have both the features of Procedure Oriented and Object Oriented.
Java is Complete Object Oriented programming( we can not create any java program without class and instance)

2. To create C and C program we need to use header file and library functions( for C stdio.h, for c iostream.h ) but many library functions like ctype.h , string.h can be used in C and C both. Eg: #include<stdio.h> / #include<iostream.h> etc.
Java does not support header file and library functions here we use package. Eg import java.io.*;

3. C and C both support pointer but Java dose not support the concept of pointer.

4. In case of dynamic memory allocation( C uses malloc or calloc function and C uses new operator ). It is necessary to de-allocate the allocated memory for both C and C (using free ). Otherwise it will be the cause of memory leakage.
Java create and destroy object itself by using Garbage Collection mechanism. You can create object dynmically but you can not control memory heap or memory location. Because pointers are not available in java

5. arguments of main function in java is String args[]

Some special Difference between C and Java

1. classes of C have both the facilitates of multiple and multilevel inheritance.
classes of Java supports multilevel inheritance but do not support multilevel inheritance. Multilevel inheritance is done by implementing interface.

2. C have the facilitates of templates.
Instead of templates generics are present in Java, which are similar to templates in C .

3. Java supports multi-threaded programming.
C does not supports.
Reply With Quote
  #58  
22nd September 2011, 11:35 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

YOUR INFORMATION REALLY HELPED ME A LOT!!!!! THANK U
Reply With Quote
  #59  
24th September 2011, 06:04 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

differe between c and java
Reply With Quote
  #60  
1st October 2011, 12:53 PM
@rnab_dasgupta
 
Join Date: Sep 2011
Posts: 55
Default Re: Difference between C, C++ and Java?

Dear friend ,
There is a huge difference between C , C++ and JAVA.

C is a procedural based language. It has to be written by maintaining a particular approach.C uses pointers, structures and unions. here for input /output we use printf/scanf .

C++ language is a object oriented language. It follows the principle of OOPs . Here for input/output we use cin/cout . It has properties like Inheritance , Abstraction etc etc..

Java is a 5th generation language. Its is purely Object Oriented Programming. It introduces the concept of object and class. It is not a modular programming language. you can define anything anywhere. It dosn't uses the concept of pointers.
Reply With Quote
  #61  
2nd October 2011, 02:42 PM
BISWARUPYOGI
Senior Member+++++
 
Join Date: May 2011
Location: India
Posts: 38,947
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 friend,

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
Reply With Quote
  #62  
15th October 2011, 06:44 AM
Unregistered
Guest
 
Posts: n/a
Post Re: Difference between C, C and Java?

Quote:
Originally Posted by Unregistered View Post
what is mean by cloud computing
c is a function language and c++ is aobject oriented language java is simmslar to c++ but some im some improvement
Reply With Quote
  #63  
19th January 2012, 07:09 PM
sree11
Guest
 
Posts: n/a
Default Re: Difference between C, C++ and Java?

C:c is procedural or struture oriented programming language.and c is system dependent or platform depended language.
C++:it is object oriented programming language but it is not fully object oriented programming language why because if you write the programs without using the classes..
Java:it is fully object oriented programming..with out class not possible to write the java program.it is a platform indepnded language
Reply With Quote
  #64  
20th January 2012, 03:57 PM
sheshadev senapati
Senior Member++
 
Join Date: Oct 2011
Posts: 1,125
Default Re: Difference between C, C++ and Java?

hello dear

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!
thank you
Reply With Quote
  #65  
7th March 2012, 12:19 PM
bhairawa
 
Join Date: Mar 2012
Posts: 1
Red face Re: Difference between C, C++ and Java?

java gives more security than c++
1.java is a GUI but c++ is not.
2.in c++ we use constructor and destructor but destructor can't able to destruct the data,in java at the place of destructor we use finalize which hits the data which we have to destruct and null destructs it.
3.we can make our own packages in java but in c++ we can't.
Reply With Quote
  #66  
4th April 2012, 06:17 PM
vishnugandhi v
Guest
 
Posts: n/a
Default Re: Difference between C, C++ and Java?

Hi friend......

1.C is a procedure oriented language.
C++ is a procedure oriented language.
Java is purely object oriented language

2.C is platform dependent language.
C++ is platform dependent language
java is platform independent language
Reply With Quote
  #67  
24th April 2012, 06:14 PM
@mit123
 
Join Date: Jan 2012
Posts: 1
Default Re: Difference between C, C++ and Java?

[QUOTE=rahul k;112410]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
  #68  
13th July 2012, 01:27 PM
ankur bana
Senior Member
 
Join Date: Jul 2012
Location: kanpur
Posts: 186
Default Re: Difference between C, C++ and Java?

the main difference between c and c plus plus is that c is a procedure oriented language where as cpp is an object oriented language we can compile and and execute all our cprograms in a cpp compiler cpp is an extintion to c. cpp was first called 'c with classes' the ++ in c++ indicates the increment operator in c meaning cpp is an advanced language compared to c the advantage of cpp lies in object oriented programing generally called oops the features of oops are classes,dataabstraction,encapsulation,inheritance, polymorphism,exception handling,etc.,
Reply With Quote
  #69  
24th July 2012, 01:04 AM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

why we cant use pointer in java?
Reply With Quote
  #70  
28th October 2012, 04:28 PM
Unregistered
Guest
 
Posts: n/a
Thumbs down Re: Difference between C, C++ and Java?

Quote:
Originally Posted by Shagun Makin View Post
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
  #71  
23rd January 2014, 07:09 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

for (B.E.,)(ECE) candidates how the questions will be raised from the IT Companies based on c,c ,java
Reply With Quote
  #72  
8th April 2019, 01:02 PM
Unregistered
Guest
 
Posts: n/a
Default Re: Difference between C, C and Java?

Sir, I have completed my B.TECH. but still i am very interest in software. 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.mail id - [email protected]

Thank u,
Mohd Irfan
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 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Please also check: