import java.applet.Applet; import java.awt.Graphics; public class Ehtoesim extends Applet { public void paint (Graphics x) { int a = 5; int b = 10; String jono = (a < b)? "a on pienempi" : "a ei ole pienempi"; x.drawString(jono,20,20); } }