1
public class Shape{
public void test(Shape a,Shape b) {
int s = 1;
}
public static void main(String[] args){
// 运行至此处
Shape m = new Shape();
Shape n = new Shape();
test(m,n);
}
}
2
public class Shape{
public void test(Shape a,Shape b) {
int s = 1;
}
public static void main(String[] args){
Shape m = new Shape();
// 运行至此处
Shape n = new Shape();
test(m,n);
}
}
3
public class Shape{
public void test(Shape a,Shape b) {
int s = 1;
}
public static void main(String[] args){
Shape m = new Shape();
Shape n = new Shape();
// 运行至此处
test(m,n);
}
}
4
public class Shape{
public void test(Shape a,Shape b) {
// 运行至此处
int s = 1;
}
public static void main(String[] args){
Shape m = new Shape();
Shape n = new Shape();
test(m,n);
}
}
5
public class Shape{
public void test(Shape a,Shape b) {
int s = 1;
}
public static void main(String[] args){
Shape m = new Shape();
Shape n = new Shape();
test(m,n);
// 运行至此处,test方法相关退栈
}
}