请教,没见过的语法????????
hewh 2004-01-16 10:52:41 下面的代码是从IBM的网站上下的例题中截取的,它在一个函数的内部。
这种语法从来没见过????????
// we run the aggregation on a background thread
final Thread t = new Thread()
{
public void run()
{
//
.....
}
};
t.setPriority(Thread.MIN_PRIORITY);
t.setDaemon(true);
t.start();