static variable
Posted: Sat Feb 09, 2013 8:51 pm
question 29 of standard test 11:
would class A and TestClass (extends A) have different copies of static variable i? One static variable i belongs to class A and the other belongs to TestClass. When the run methods of Class A and TestClass execute, they should incease their own copy of the static varible i, rather than update the same i?
would class A and TestClass (extends A) have different copies of static variable i? One static variable i belongs to class A and the other belongs to TestClass. When the run methods of Class A and TestClass execute, they should incease their own copy of the static varible i, rather than update the same i?