Java Standard -Zugriffsmodifikat
// Java program to illustrate error while
using class from different package with
default modifier
package two;
import one.*;
// This class is having default access modifier
class Second
{
public static void main(String args[])
{
// Accessing class First from package one
Firsts obj = new First();
obj.display();
}
}
Outrageous Ostrich