What is the difference between C++ & Java?

Answer Posted / priyal rathod

Java supports only LOCAL variable where as C++ supports
LOCAL & GLOBLE variable both

Is This Answer Correct ?    16 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the purpose of "virtual"?

578


What is this keyword in java?

571


What is the difference between jdk, jre, and jvm?

578


Which is the best approach for creating thread ?

730


What are accessor methods in java?

561






Difference between character constant and string constant in java ?

568


How many types of keywords are there?

571


What is the difference between static and non-static variables in java programming?

528


Which methods are used during serialization and deserialization process?

560


What is the default value of an object reference declared as an instance variable?

544


What are the features in java?

582


How do you convert an int to a double in java?

600


How to store image in arraylist in java?

520


What is data type example?

556


Distinguish between a predicate and a function?

581