Which of the following displays a message box saying “I have been created” every time a new instance of the class ShowMe is created?
a. ```Public Class ShowMe
MessageBox.Show(“I have been created”)
End Class
```
b. ```Public Class ShowMe
Public Sub Constructor()
MessageBox.Show(“I have been created”)
End Sub
End Class
```
c. ```Public Class ShowMe
Public Sub Create()
MessageBox.Show(“I have been created”)
End Sub
End Class
```
d. ```Public Class ShowMe
Public Sub New()
MessageBox.Show(“I have been created”)
End Sub
End Class
```
d. ```Public Class ShowMe
Public Sub New()
MessageBox.Show(“I have been created”)
End Sub
End Class
```
You might also like to view...
The name of the element in row 3 and column 5 of array d is_________ .
Fill in the blank(s) with the appropriate word(s).
File _________________________ are identified by a three- or four-letter suffix after the file name.
Fill in the blank(s) with the appropriate word(s).
Embedded styles override or take precedence over external styles
Indicate whether the statement is true or false
Changing a chart layout can be done manually with individual elements or with a predefined layout
Indicate whether the statement is true or false