正在加载图片...
Currency Converter r Let's start with an example to cover the basics of defining instantiable classes r In designing an instantiable class, we start with its specification, namely how we want the class and its instances behave r a Currency Converter object will perform a conversion from a foreign currency and the U.s. dollar. r What would be the most natural way for us to interact with Currency Converter objects? C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 4-4© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 4 - 4 CurrencyConverter Let’s start with an example to cover the basics of defining instantiable classes. In designing an instantiable class, we start with its specification, namely, how we want the class and its instances behave. A CurrencyConverter object will perform a conversion from a foreign currency and the U.S. dollar. What would be the most natural way for us to interact with CurrencyConverter objects?
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有