What is the difference between C++ & Java?

Answer Posted / prakash savaniya

Java doesnt require any header file.
it uses import statement instead of #include statement

Is This Answer Correct ?    21 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the concept of multithreading?

514


What is a newline character in java?

558


Which class is the superclass for every class in java programming?

563


Why are constructors used?

548


What is the purpose of static methods and variables?

525






Can a lock be acquired on a class in java programming?

528


List the features of java programming language.

556


What is the equal sign?

553


How is it possible for two string objects with identical values not to be equal under the == operator?

521


How can we find the sum of two linked lists using stack in java?

559


What do you understand by classes in java?

551


How many types of threads are there in java?

497


What methods are used in Servlet?Applet communication?

1655


What is difference between variable declaration and definition?

507


What is a substitution variable?

555