多选题 Given:
2. package pack.clients;
3. import pack.banking. Bank;
4. public class Client{
5. public static void main(String[] args) {
6. Bank bank = new Bank();
7. System.out.println(bank.getMoney(2000L));
8. } }
And given that Client.java resides in the $ROOT directory and is not yet compiled. There is another class named pack.banking.Bank, which has a method called getMoney(long) that returns a value. Bank class is compiled and deployed into a JAR file called pack.jar, as shown in the following directory structure
$ROOT
|-- Client.java
|-- [pack.jar]
|-- pack
|-- banking
|-- Bank.class
Which are correct about compiling or running the Client class from the $ROOT directory? (Choose all that apply.)
【正确答案】 A、G
【答案解析】