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
Explain what is orm?
Is jvm a overhead?
Are enterprise beans allowed to use thread.sleep()?
Define prototype?
What is Stream Tokenizer?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What is the relationship between the canvas class and the graphics class?
Name three subclasses of the component class?
What is bean? Where can it be used?
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me
what are the advantages of JTA over JTS?
What is chat area? Explain.
Name the eight primitive java types.
What is the purpose of the notifyall() method?
What restrictions are placed on the values of each case of a switch statement?