Which statement is used to define a class in visual basic?

Trang Esther

New member
Which statement is used to define a class in visual basic?
A. Class statement
B. Event statement
C. Event class statement
D. Form class statement
 
Answer: A
Explanation: The class statement is used to define a class in visual basic. The class statement begins with public class classname clause and ends with End class clause. Within the class statement, you write the code to tell the form and the object how to react to the user’s action.
 

Tìm kiếm

Back
Top