What are the four actions commonly performed on objects?
2.
True or False: The .NET Framework contains classes that we will be using in our ASP.NET web pages.
3.
In the past two hours, we examined a number of fundamental programming concepts. In this hour, we looked at objects, which have properties, methods, and events. What programming concept is analogous to an object's properties?
4.
What programming concept is analogous to an object's methods?
5.
In Visual Basic, what keyword in the subroutine definition indicates that the subroutine should be called when a specified event fires?
Answers
1.
Before objects can be used, they must first be instantiated. Once an object instance exists, often the properties of the object are then set, followed by calling the object's methods. Additionally, event handlers may need to be created in order to have code executed in response to the firing of an object's event.
2.
True. In fact, all ASP.NET Web controls are implemented as classes in the .NET Framework.
3.
Properties are analogous to variables.
4.
Methods are analogous to subroutines and functions.