why the testng assign the property a to the same address?

前端 未结 0 2008
孤城傲影
孤城傲影 2021-01-14 18:41

there are 2 classes, Base.java and Demo.java

public class Base {

    public A a;

    @BeforeMethod
    public void beforeMethod() {
        a = new A();
           


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