public class Welcome extends Applet
{ 
... // definition of applet goes here.
}

names the subclass of Applet, in this case "Welcome".

In each applet you write, after the comments and import statements, you have a statement of the form:

public class [APPLET NAME] extends Applet
{ 
... 
}