What is the difference between C++ & Java?

Answer Posted / deepti iyer

c++ supports pointers,java do not
c++ supports procedural and object oriented
programming,wheras java support only object oriented
c++ has operator overloading,java has interfaces

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you compute size of a structure?

592


Why inputstreamreader is used in java?

555


Is integer passed by reference in java?

572


Can we declare a static variable inside a method?

534


Define the term string pool?

590






What environment variables are required to be set on a machine in order to run Java programs?

621


What is meant by null and void?

543


What do you mean by order of precedence and associativity?

550


How do you access command-line arguments within the code?

573


What is the purpose of using break in each case of switch statement?

567


What are the 3 types of loops in java?

535


What does escaping a character mean?

538


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

1610


What is parsing a sentence?

550


What is the purpose of java?

559