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...
Good information gathering can make the difference in achieving a successful pen test
Indicate whether the statement is true or false.
A ________ is a group of related files, such as code files, resource files and images that make up an app.
a. folder b. directory c. solution d. project