Suppose a project has a form named SummaryForm. Which one of the following statements creates an instance of the SummaryForm class and assigns it to a variable?
A) SummaryForm.ShowDialog() ;
B) SummaryForm = this.Form() ;
C) mySummaryForm = SummaryForm() ;
D) mySummaryForm = new SummaryForm() ;
Correct Answer:
Verified
Q43: A class's constructor must always use the
Q44: When a class's fields are hidden from
Q45: You should never declare a class in
Q46: When a class contains a method that
Q47: A class is not an object but
Q49: In code that creates an instance of
Q50: A class's constructor header must specify a
Q51: When a _ is displayed, no other
Q52: If you want to show a form
Q53: The _ displays a form on the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents