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
What is a clone?
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?
Why is string immutable in java?
What is the form of storage space in java?
What is the argument type of a programs main() method?
What is the purpose of the notify() method?
What is difference between object state and behavior?
Can I run seam with jdk 1.4 and earlier?
What is a class loader?
What you mean by COM and DCOM?
What is mdb and what is the special feature of that?
When is the best time to validate input?
What is the difference between long.class and long.type?
what is handle?
What is message driven beam?