1. g.drawString(“score=”+score,50,50,Graphics.TOPGraphics。LEFT)? 或是2.for (Enumeration e = v.elements() ;e.hasMoreElements() ;){System.out.PRintln(e.nextElement()); }
String scoreStr=“score=”+score;g.drawString(scoreStr,50,50,Graphics.TOPGraphics.LEFT);
boolean hasMoreElement();Object nextElement();
for (int loop ; loop System.out.println(vector.elementAt(loop));}
(出处:http://www.VeVb.com)
新闻热点
疑难解答