important features of java which differenciate it from c++
Answer Posted / kumod kumar
there are following diff between java and c++
1) one of the most important diff is there is no pointre in
java but pointer is hidden from programmer.
2) java is pure object oriented programming language where
as c++ is not pure object oriented language is also support
c feature.
3) in java everything should be within class includin main
function where as it can be in calss or not.
4) java doesn't support operator overloading where as c++
souuprt
5)there is no global variable in java where as it is in c++
6) there is no distructor in java but threr is finally key
work
7)there is no multipal inharitance but is can be achived by
interface
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
Describe, in general, how java's garbage collector works?
What are the call back methods in entity bean?
What are the different algorithms used for clustering?
What is the difference between the font and fontmetrics classes?
What is Remote Server?
Do you think that java should have had pointers?
what are the activation groupworks?
What are callback interfaces?
Is the session factory thread safe?
Difference between DurableSubscription and non- DurableSubscription?
what is the use of State Factories?
Explain about RMI Architecture?
What is the diffrence between a local-tx-datasource and a xa-datasource?
What is threadfactory?
Is the ternary operator written x : y ? Z or x ? Y : z ?