正在加载图片...
Java Program Examp import java.util. Vector import javax. swing. class CurrencyConverter double rateHktoEuro =0.0885: Field (Data Member) double rateHKtoUS =0.128; Declarations double convertEuro2us( double amoun tEuro / details skipped Method declarations double convertUS2HK( double amountS / details skipped K国 Michael Fung, CS&E, The Chinese University of HK 62008-2009 2a Michael Fung, CS&E, The Chinese University of HK 6 Java Program Example Field (Data Member) Declarations Method Declarations import java.util.Vector; import javax.swing.*; class CurrencyConverter { double rateHKtoEuro = 0.0885; double rateHKtoUS = 0.128; double convertEuro2US ( double amountEuro ) { // details skipped } double convertUS2HK ( double amountUS ) { // details skipped } }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有