要构造HashSet类的一个实例,此类实现了Set接口,正确的是 A: HashSet mySet = new Object( ); B: HashSet mySet = new Set( ); C: Set mySet = new Set( ); D: Set mySet = new HashSet( );
要构造HashSet类的一个实例,此类实现了Set接口,正确的是 A: HashSet mySet = new Object( ); B: HashSet mySet = new Set( ); C: Set mySet = new Set( ); D: Set mySet = new HashSet( );
1