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
How many times may an objects finalize() method be invoked by the garbage collector?
Explain the advantages and disadvantages of detached objects.
What is mdb and what is the special feature of that?
What is scalable, portability in the view of J2EE?
How a component can be placed on Windows?
Why are some of the class and element names counter-intuitive?
Are there books about seam?
What is TL and its use?
Is jvm a overhead?
Why is actionform a base class rather than an interface?
Are enterprise beans allowed to use thread.sleep()?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
Can I use multiple html form elements with the same name?
What do you need to set-up a cluster with jboss?
What are the different class loaders used by jvm?