Java geschützte Zugriffsmodifierpaket zwei

// Java program to illustrate
 protected modifier
package two;
import one.*; // importing all classes in package one
 
// Class B is subclass of A
class B extends A
{
public static void main(String args[])
{
    B obj = new B();
    obj.display();
}
   
}
Outrageous Ostrich