//Pseudocode class A { //...... b.method1(); b.method1(); b.method1(); b.method2(); b.method2(); b.method2(); //...... } class B{ //...... method1(){ log("