java: execution order messed up without multithreading involved

前端 未结 0 851
谎友^
谎友^ 2021-02-04 04:18
//Pseudocode

class A
{
//......

b.method1();
b.method1();
b.method1();

b.method2();
b.method2();
b.method2();

//......
}

class B{
//......
method1(){
    log("         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题