包的问题!!!!!
package cn.mybole;
import com.mr.*;
class Test
{
public static void main(String[] args)
{
// System.out.print("package test!");
Test2 t2=new Test2();
}
}
package com.mr;
public class Test2{
}
我看了没错误啊,为什么会出现下面的这种错误呢
错误如下:
can not resolve symbol Test2 t2=new Test2()