what are the difference between C,C++and Java



what are the difference between C,C++and Java ..

Answer / v.krishnakumar

c language is a procedural oriented language, but c++, java
are object oridented language. java doesnot support
pointer, multiple inheritance, but c++ allow to support.
java have the facilities of database connection, but c, c++
havenot such cababilites. finally c uses malloc , calloc
for memory allocation, but c++ uses new, delete....

Is This Answer Correct ?    14 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

how many trailing zeroes are there in 100! (100 factorial)?

5 Answers  


How can we develop a multi-tier application in Java?

0 Answers  


Write a shell program. Enter basic pay of an employee and calculate DA, HRA, Deduction, Gross pay and Net pay as follows: DA = 75 % of BASIC HRA = 10 % of BASIC DEDUCTION = 15 % of BASIC GROSS PAY = BASIC+DA+HRA NET PAY = GROSS PAY-DEDUCTION.

1 Answers   TCS,


In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?

0 Answers  


what is radio button? Plz show code this! how will select radio buttons to go next window Forms? Supose o radio button1 o radio button2 o radio button3 o radio button4 how will coding this? Plz explain this!

0 Answers  


converting 41.685 to binary

1 Answers   Hughes,


I need to fetch all rows from the table based one field value in the table and later do a condition check if the condition is true I will have to move all the rows present in the data base to output file one else if the condition is not satisfied then move all the records of that field value into another file .Please let me know how to do that

0 Answers  


Difference between interface and abstract class?

2 Answers   Cognizant, CTC,


how we can connect applet with database?

1 Answers  


we create a pf with 3 fields.2 is defined as keyfields.we lock it with alcobj command.how we find out whether the file is locked or not?is it dspfd??/

0 Answers   CTS,


WHAT IS THE MEANING OF CONSTANT ...EXEEDS LENGTH LIMIT WHILE COPYING FROM PS FILE TO KSDS

0 Answers  


4.Write a program to get the string in array and print that? or Without using loop print the array.

3 Answers  


Categories