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 } }