Assertion: applet's class | /r/HasProperty | public
Facets:
Source sentences:
text: First extends Applet{ public void paint(Graphics g){ g.drawString("welcome",150,150); } } Note: class must be public because its object is created by Java Plugin software that resides on the browser.
text: An applet must be a public class, frame doesn't have to.
text: When the source file contains multiple classes, it is necessary to make one class (introduced by the class keyword) public (preceded by the public keyword) and name the source file with that public class name.
text: A Java applet must be a public class.