问题:求解答Thread.currentThread()输出的结果中的main指的是啥
代码示例:
public class AAA implements Runnable{
private Integer number;
public AAA(Integer number) {
this.number = number;
}
@Override
public void run() {
System.out.println(Thread.currentThread()+"数量:"+number);
}
}
public class BMain {
public static void main(String[] args) {
Integer a = 10;
AAA aaa = new AAA(a);
AAA bbb = new AAA(a);
new Thread(aaa).start();
new Thread(aaa).start();
new Thread(bbb).start();
}
}
输出结果:
求问结果中红色框圈起来的main指的是什么。