Method A->B in different class. B raises Exception. How to know which line in A called B?

前端 未结 0 1506
隐瞒了意图╮
隐瞒了意图╮ 2020-12-19 02:26
public class A{
    public static void main(String[] args) {
        B b=new B();
        b.add(10,0);
    }
}

public class B{
    Integer add(Integer a,Integer b){         


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