Subscribe TechModgy to learn about new technologies!

If an user-defined class have a user-defined event then, the class object is declared as

A. Dim c as new ClassName

B. Dim withEvents c as new ClassName

C. Dim c as ClassName

D. Dim withEvents c as ClassName

Please do not use chat terms. Example: avoid using "grt" instead of "great".