package mypkt;
import mypkt.*;
import java.lang.*;
class xiao
{
test t = new test();
void aaa()
{
System.out.println("xiao = "+t.a);
}
 
}public class test
{
protected int a;
public static void main(String[] args)
{
xiao jun = new xiao();
jun.aaa();
}
test()
{
a =100;
}
}执行有错误。不是太懂了。请教一下