Join Examsbook
1281 0

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

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Dim obj as OBJ.CLASS with eitherSet obj = New OBJ.CLASS orSet obj = CreateObject(OBJ.CLASS?) orSet obj = GetObject( , OBJ.CLASS?)orDim obj as New OBJ.CLASS

Are you sure

  Report Error

Please Enter Message
Error Reported Successfully