hw-05 | programming language design - spring'2008, dr. s. yurttas - solution
rationale
problem
This is your first assignment to practice and show that you're able to design, implement, and test a class from a given specification.

You'll practice pure object-oriented language constructs in C++ and C# | Java.

This application is focused on classes, objects, functions as members, so that, you can see and understand that the applications are not just algorithms based, but data structures/data types oriented, as well.

problem
You'll implement class A for the given specification by the implied meanings of the members, appropriately.

You'll write a complete test function of class A objects with all members.

  • You can add any members public or private, if need be, as utility members.
  • Structuring and composition as interface/implementation separation and testing function should be provided.
  • You can use/reuse: C++, Java and C# collections.
problem
credit : 10 points due April 7 by 11pm.