请问,引入子包时,用“import com.imooc.second.*;”,结果不能执行其下的Telephone构造方法?用“import com.imooc.second.Telephone;”就可以
package com.imooc; import com.imooc.second.*; public class InitialPhone { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Telephone phone=new Telephone(); Telephone phone1=new Telephone(5.0f,1.4f,2.0f); /* * phone1.setScreen(6.0f); * System.out.println("screen:"+phone1.getScreen()); */ } }