Java Protected Access Modifier le package un

// Java program to illustrate
 protected modifier
package one;

// Class A
public class A
{
protected void display()
	{
		System.out.println("Welcome to softhunt.net");
	}
}
Outrageous Ostrich