A class-level variable is declared using ______________ keyword.

Đinh Yến

New member
A class-level variable is declared using ______________ keyword.
A. Private
B. Public
C. Dim
D. Static
 
Answer: A
Explanation: A class-level variable is declared using private keyword. You typically use the class-level variable when more than one procedure in the same form need to use the same variable. However, a class level variable also can be used when a procedure wants to retain its value after the procedure ends.
 

Tìm kiếm

Back
Top