• 2022-05-29
    class Tom { [br][/br] int x = 5,y; [br][/br] void f() { [br][/br] int x = 10; [br][/br] y = x+this.x; [br][/br] }} 请问y的值是多少?
    A: 10
    B: 15
    C: 20
  • 举一反三