What is the difference between a property a method and an
event? Give an example of each.
Answer Posted / anuradha
Property:
It is the inbuilt behaviour.
Mehtod:
It is the work that is possible to perform
Event:
It is the result of the work performed.
Ex::
A man
Man has two hands, two legs , he is fair , handsome etc are
the Properties
Walking , claping , writing are the possible things done by
the man, and they are treated as Methods.
If he walks will go to some place, if he writes will
complete his homework i.e; if he done some work he will get
the result
Means the execution of method is called as Event(will get
some output)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you avoid the "Invalid use of null" error when reading null values from a database?
what is the Difference between Tabletype and Snapshot?
What is ActiveX? Explain.
What is the difference between change event in normal combobox and dbcombobox?
Types of Resultsets.
___ property used to add a menus at runtime.
What is meant by Establish Connection in RDO?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?
How do I make my applications screen-resolution independent?
How can you filter out specific type of file using file system controls?
which property is used to change to some value to access a identity column in datacontrols?
Is there any way to pass a variable to a form apart from using global variables?
How to find the current record position in data control?
What is script control?
What are the rules which should be followed while naming a variable in VB?