Notes:
import myLib.ClassA; or import myLib.*; // all classes in package myLib
Illustrated:
Example:
import myLib.ClassA; // Or: import myLib.*; public class myProg { public static void main(String[] args) { ClassA.Method81(); // Use method inside ClassA } }
How to run the program:
(Because myProg is not inside a named package)