Make your own free website on Tripod.com
1:package test;
2:public class testclass
3:{
4:  private void onemethod() { System.out.println("in one method"); }
5:  void defmethod() { System.out.println("in def method"); }
6:  protected void promethod() { System.out.println("protmethod"); }
7:}
8: