Sunday, January 31, 2016

TestAccessModifiersExample1

package accessModifiers;

public class TestAccessModifiersExample1 extends TestAccessModifiers{

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub

TestAccessModifiersExample1 obj = new TestAccessModifiersExample1();

obj.test1();
obj.test2();
obj.test4();

System.out.println(obj.a);
System.out.println(obj.b);
System.out.println(obj.d);

}

}

1 comment:

  1. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    Core Java Training in Electronic city

    ReplyDelete