// test of the package and visibilities of its members
// if your classpath is set properly and package is available, you
// will be able to use it in this program

import iitb.mech.rahul.mypackage.*;

// make sure that in your CLASSPATH environment, there's a directory
// under which mypackage directory exists.

class Subclass extends PackageDemo {

	Subclass () {super (10,20,30); } 
	void g() { j=0; 
//		k = 10;  // package visibility
	}

}


public class TestPackage {

	public static void main (String args[]) {

		PackageDemo  pd = new PackageDemo  (10,20,30);
	//	PackageDemo  pd2 = new PackageDemo  (0); // not accessible
		pd.f();

		//InternalClass ic = new InternalClass (); // cannot be accessed
		// ic.f();
	}
}


