important features of java which differenciate it from c++
Answer Posted / srinu
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 ? | 4 Yes | 1 No |
Post New Answer View All Answers
Is a class a subclass of itself?
which book is better for jdbc ,servlets and jsp
Why doesn’t the focus feature on the tag work in every circumstance?
How is a java object message delivered to a non-java client?
What is meant by method chaining?
What are the purpose of introspection?
What is the difference between ear, jar and war file?
What are JTA/JTS and how they used by client?
What is colon_pkg_prefixes and what is its use?
what is an isolation level?
Do we need to override service() method
Are there books about seam?
What is aop(assepct oriented programing)?
Why does the option tag render selected=selected instead of just selected?
What is a policy?