Package Example 2

package pkg2;
import pkg1.*;
import pkg1.pkg11.*;
public class App11 extends App1 {
	void function() {
		App1 a1 = new App1();
		a1.disp();
	}
	public static void main(String[] args) {
		new App11().disp();
	}
}

Download

Package in Java

Package Example - 1
Package Example - 2


Write your Comment

Name :
Email Id : [ We will not publish your email id ]
Your Comment : [ Maximum 200 chars ]
Enter Security code