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
What is difference between object state and behavior?
What is the purpose of the notify() method?
What is RMI and what are the services in RMI?
how do you Handle Front End Application data against DB with example?
How database connectivity in XML is achieved?
What is abstract schema?
what are the activation groupworks?
What is the argument type of a programs main() method?
What do you know about seam?
What is a policy?
Is it possible to stop the execution of a method before completion in a sessionbean?
What is prototype?
What is meant by method chaining?
What is the immediate superclass of the applet class?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions