TopSubclassesTranslating Java classes into C++

Translating Java classes into C++

Look at stack composed out of linked lists. What Java class does this correspond to? Important idea: Primitive types represented the same way, object types always held as pointers.

See the code for stacks and nodes We talked about all of the code aside from that for deconstructors, copy constructors, and operator=.


TopSubclassesTranslating Java classes into C++