which are true?
A it is not good practise to place aeesrtions where you think execution should never reach
B it is sometimes appropriate to call getters and setters from assertions
C Use assertions to very the arguments of private methods
D assertions can be disabled for a piticular class
E never throw an AssertionError explicitly
自己认为ACD肯定是对的 其余不确定 求助各位高手了
A it is not good practise to place aeesrtions where you think execution should never reach
B it is sometimes appropriate to call getters and setters from assertions
C Use assertions to very the arguments of private methods
D assertions can be disabled for a piticular class
E never throw an AssertionError explicitly
自己认为ACD肯定是对的 其余不确定 求助各位高手了
B assert 不应该有setters
C 不明白什么意思
D 应该正确
E 应该正确