現(xiàn)有如下包結(jié)構(gòu):
com |-- x | |-- Alpha.class | | | |-- y | |-- Beta.class | |-- Gamma.class
和類:
class Test { Alpha a; Beta b; Gamma c; }
哪三個必須加入到類 Test 中,以使其通過編譯?()
A.package y;
B.package com;
C.import com.x.*;
D.import com.x.y.*