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
What is database vb?
How do I do drag & drop between applications?
How to down load image properties.
Is there any Edit method in ADO Data Access method?
what is the Property used to add a menus at runtime?
What is the use of Hyperlink control for DHTML applications?
What are the types of API Types.
What is the use of Active Control Property?
Explain about declaring variables in Visual basic?
i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI).
How to customize workgroup message?
Is visual basic case sensitive?
How would you create properties in ActiveX Control?
What is FireHouse Cursors?
What is the-use of property page Wizard in ActiveX Control?