import Java.awt.Graphics;
class swap extendzs Java.applet.Applet
{
public void paint(graphics g)
{
int a=19, b=34, c=56, t;
if(a>b)
{t=a; a=b; b=t;}
if(a>c)
{t=a; a=c; c=t;}
if(b>c)
{t=b; b=c; c=t;}
g.drawString("大小顺序为:a="+a+"b="+b+"c="+c, 25, 50);
}
}
该程序的if条件都是假的,条件语句应该都没有执行,最后怎么出现排序结果的呢,
该程序有没有错误呢