¿Cuál es el resultado de ejecutar el siguiente código?
public class MyThread extends Thread {
public void run() {
System.out.print("A");
}
}
public class Main {
public static void main(String[] args) {
MyThread thread1 = new MyThread();
MyThread thread2 = new MyThread();
thread1.start();
thread2.start();
System.out.print("B");
}
}