What is the difference between C++ & Java?

Answer Posted / hemantha kumar

JAVA IS PLATFORM INDEPENDENT.WE CAN RUN .class file in any
OS or any computer.

But c && C++ are platform dependent.i.e if .exe file
created in sp2 then it will not work in other Systems(OS).

&& IF ur processor is 8086 then the created .exe file will
work in 8086 processor only.


Fo r more information read AN INTGREATED APRROCH TO JAVA
(BLACK BOOK)

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is tree Mirroring implemented?

633


What is anagram in java?

524


What is struts in java?

577


Is int primitive data type?

507


Can an integer be null java?

559






What are the elements of java?

565


How many bits is a char?

538


What does those terms actually mean included in the j.d.k i.6?

1606


hr interview how many minutes asking question

1569


Why does java have two ways to create child threads?

468


Why object class is super class for every class in java?

578


What do heavy weight components mean in java programming?

525


Define how does a try statement determine which catch clause should be used to handle an exception?

587


Write the algorithm to check the number non-leaf nodes in a tree.

597


What are recursive functions? Give some examples?

619