What is the main difference between C++ and Java

Answer Posted / sravanthi

c++ is not a pure object oriented programming language where
as java is a pure object oriented language.i.e.,some opp
concepts like multiple inheritance,encapsulation etc is not
supported by java.in place of multiple inheritance interface
is introduced.and java does not support pointers as they
create some problems like crashing,terminating etc.java is
plat form independent where as c++ is plat form dependent
i.e.,in java we can write pgm once can run it anywhere.java
supports internet where c++ does not.c++ is a compiler,whereas
java is a both an interpreter & compiler.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object and example?

871


Why we use classes in oop?

764


What is balance factor?

809


What are the two different types of polymorphism?

888


what are the realtime excercises in C++?

2545


What is the real life example of polymorphism?

848


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2148


What is a class and object?

791


class type to basic type conversion

2087


write a program that takes input in digits and display the result in words from 1 to 1000

2184


What is overriding in oops?

820


What is an advantage of polymorphism?

819


What is a function in oop?

824


What are objects in oop?

823


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

1972