What is the difference between C++ & Java?

Answer Posted / imran khan

Both are Object Oriented Programming, But Java design to
support the web applications, GUI programming is easy with
java, Java does not require third party package(header file
in C++) to connect Database, Java is Platform independent
where as C++ is platform dependent.

Is This Answer Correct ?    75 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a parameter?

576


How does compareto method work?

520


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

499


How to create an immutable class?

564


Why does java have two ways to create child threads?

464






What all access modifiers are allowed for top class ?

705


Can each java object keep track of all the threads that want to exclusively access it?

528


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

579


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

504


What are jee technologies?

529


Is string is a keyword in java?

545


Can I declare class as static or private?

537


Will set allow duplicates in java?

497


How do you sort in ascending order in java?

516


What is the role of the java.rmi.naming class?

515