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
Explain the different types of memory used by jvm?
What is prototype?
How would you detect a keypress in a jcombobox?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
Can we sent objects using Sockets?
Name three subclasses of the component class?
What is aop(assepct oriented programing)?
what are RemoteObjects?
How are commas used in the intialization and iteration parts of a for statement?
What are various types of class loaders used by jvm?
What is the map interface?
Difference between DurableSubscription and non- DurableSubscription?
Why a client should be multithreading? Explain.
Can I run seam outside of jboss as?
What are the design considerations while making a choice between using interface and abstract class?