What is the difference between C++ & Java?

Answer Posted / shyam

java is totaly Encapsulated because every thing with in a
class...i c++ main remains out of class but in case of java
its inside the class...................

Is This Answer Correct ?    54 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is array a class?

513


How can an exception be thrown manually by a programmer?

504


Explain about anonymous inner classes in java?

575


How does a for loop work?

500


How does multithreading take place on a computer with a single cpu?

530






What is difference between calling start() and run() method of thread?

555


What is callable java?

548


Is minecraft 1.15 out?

545


How do listeners work?

503


How do you write methodology?

556


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

524


How can you handle java exceptions?

519


What is the difference between static (class) method and instance method?

566


Can you add null to a list java?

578


how to create multithreaded program? : Java thread

501