What is the difference between C++ & Java?
Answer Posted / afreen
Differences between c++ and java are as follows:-
..c++ has header file #include<iostream.h> whereas java has import java.io.*;
..c++ uses clrscr() and getch(), java do not.
..c++ supports destructor, whereas java do not.
..complilation and running program differs in c++ and java.
..java is platform independent and machine independent, whereas c++ is not.
..In c++,the entire program is written in one class itself whereas java can have multiple classes.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
how to open and edit XML file in Weblogic???
How does arraylist work in java?
what is thread? What are the high-level thread states? : Java thread
Why is singleton not thread safe?
What is the difference between static (class) method and instance method?
Why declare Main() method as a static in java ?
What are the 8 primitive data types in java?
Can you instantiate the math class?
How can you set the applet size?
What is main string [] args?
What is the difference between && and & in java?
what do you understand by the term string with respect to java?
What is variable length arguments in java?
how to write a program for sending mails between client and server
What is variable and constant explain with example?