J2EEOnline
GofPatterns OOPortal
prev prev
  Course navigation
    Using packages in Java
Line 1: import java.applet.Applet;
Line 2: import java.net.*;
  1. Line 1: Imports the Applet class from the java.applet package.
  2. Line 2: Imports all of the classes in the java.net package.
  Course navigation