Home » Interview » Technology

What are the different ways to Declare and Instantiate an object in Visual Basic 6?

Correct Answer: Dim obj as OBJCLASS with eitherSet obj = New OBJCLASS orSet obj = CreateObject(OBJCLASS?) orSet obj = GetObject( , OBJCLASS?)orDim obj as New OBJCLASS

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion