Explore BrainMass

explain between two programming languages

I have two programs(Java and C++). They looks similar. But I need to explain why C++ is longer than java and what else to explain such as memory, time, build-in-function and so on...

See attached file for full problem description.


Solution Preview

1. Reason why C++ is longer:
C++ has much less built-in functions defined than Java. So every utility classes, such as stack, need to be build by the application. So the application program needs to define the stack class, including every utility functions (methods) associated with this class, such as push(), pop(), peek() and search(). On the other hand, Java has a built-in package
ava.util that defines the utility classes ...

Solution Summary

This job explains between two programming languages.