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
What is the difference between a constructor and a destructor?
What is the benefit of oop?
What is the difference between encapsulation and polymorphism?
What is overloading and its types?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What exactly is polymorphism?
What is object in oop with example?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
write a program that takes input in digits and display the result in words from 1 to 1000
• What are the desirable attributes for memory managment?
How is polymorphism achieved?
Is html an oop?
is there any choice in opting subjects like 4 out of 7
Can an interface inherit a class?