important features of java which differenciate it from c++

Answers were Sorted based on User's Feedback



important features of java which differenciate it from c++..

Answer / 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

important features of java which differenciate it from c++..

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

important features of java which differenciate it from c++..

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

Post New Answer

More Advanced Java Interview Questions

How do you download stubs from a Remote place?

1 Answers  


What is there in browser that it supports web based applications of java or any other PL?

2 Answers  


life cycle of an applet?

3 Answers  


String is immutable.it is true String can be change to mutable How?

6 Answers   IBM, Professional Access, TCS,


What is the highest-level event class of the event-delegation model?

0 Answers  






wahts is mean by dynavalidatorform in struts/

0 Answers   SolutionNET,


Define the remote interface?

1 Answers  


what is the Remote Stub?

1 Answers  


What is the difference between session and entity beans?

0 Answers  


What is jboss?

0 Answers  


If i learn Java, what kind of applications can i create that will help Banking, Retail, Hotel, Logistics industry.

2 Answers  


What is colon_pkg_prefixes and what is its use?

0 Answers  


Categories