/*ch0506.java*/
class ch05061
{
  int x=8;
  private int y=9;
  public double z=10;
  void pntout(String s)
  {
    System.out.println(s);
  }
}

class ch05062 extends ch05061
{
    float w=100.0f;
}

public class ch0506
{
  public static void main(String args[])
  {
	 ch05062 abc=new ch05062( );
	 System.out.println(abc.x);
	 System.out.println(abc.z);
	 System.out.println(abc.w);
	 abc.pntout("ÄãºÃ£¬ÅóÓÑ!");
  //System.out.println(abc.y);
   }
}





