找考题网-背景图
多项选择题

Given: Which two methods, inserted independently at lin……

Given:

Which two methods, inserted independently at line 17, correctly complete the Sales class?()



A.double getSalesAmount() { return 1230.45; }
B.public double getSalesAmount() { return 1230.45; }
C.private double getSalesAmount() { return 1230.45; }
D.protected double getSalesAmount() { return 1230.45; }

热门试题