What is the difference between C++ & Java?

Answer Posted / abc

->java not suppport operator
overloading,typedef,preprocessor,multiple
inheritance,structure,union,goto.

->there are no stand alone function in java.

->scop resolution operator replaced by dot(.)

->no need to include header files.

->java uses compiler and interpreter both, but c++ has
their is only compiler.

->java does not support unsigned integer.

->thread support is built in java but not in c++.

->internet support is built in java but not in c++.

->all code in java program is encapsulated with more than
one class.

->java does not have the delete operator.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the requirement of thread in java?

628


What is the difference between a window and a frame in java programming?

598


What is comparator in java?

559


What are annotations in java?

623


What is thread start?

526






What one should take care of, while serializing the object?

484


What is the meaning of nullable?

580


How the metacharacters are different from the ordinary characters?

571


How many types of classes are there in java?

523


Explain access modifiers in java.

587


What is structure of java heap? What is perm gen space in heap?

546


Explain naming conventions for packages?

582


Is array serializable java?

525


What is the purpose of methodology?

641


What is the length of a string?

526