important features of java which differenciate it from c++
Answers were Sorted based on User's Feedback
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 |
Answer / sureshyadav
Java is apure object-oriented progrmaing language.here one
beter feature we have i.e multiple inheritance and pointer
concepets are not used.
In java the primitivw datatypes like(int,float,double,short)
these values can be represented in objects of classes.
| Is This Answer Correct ? | 15 Yes | 3 No |
Answer / 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 |
How are commas used in the intialization and iteration parts of a for statement?
What you mean by COM and DCOM?
Why is main purpose of XML?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
diff mvc1 and mvc2 wahts is mean by servlet chaining?
Dear freinds... I want to know how to write self mapping for a table using hibernate?
Can I have an action without a form?
how to get value in combo for updation?
What is an abstract method?
What is Lock Based Protocol and what is its use?
Explain about thread synchronization inside a monitor?
what is the RMI / IIOP?