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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.

1261


I want to insert date in the form of yyyy-mm-dd... if any changes happen while inserting date format want to show error meg...any one can solve this..??

1744


How to change the color of a cell or a row in a datagrid on mouse hover using javascript/.net

1619


how will you code the subfile which is in editing mode (multiple case subfile)?

1696


iam confused to choose among testing, .net and java can anybody help me????????

1710






What is the merger sort principle and its time complexity.

734


WHAT IS MAIN IMPORTANT THING IN SOFTWARE?

1828


how does database connection using ADO.NET?

1625


in network security,how we identified threat?some one say we found threat according to it's signature,but how we get signature or pattern of the virus?

1625


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

1546


ok how would i do the following extract from a file i have ssns = 267907230 which are in column 7 into a separate data set then create a 2nd job step to extract from the data set created the following "fund code" which is in column 31 and is 113 into yet another data set

1659


Hi I am Rathnam, How To Remove the duplicates with out using remove duplicate stage in the datastage

1597


What is the difference between CLEAR & RESET and OPEN & CLOSE OPCOEDS(USING RPG/400).wheare we can use this?can any body tell me in real time senario with example please?

1650


what is the diffrence between software and hardware language?

1928


how to check single or double byte in struts

1678