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 are the rules which should be followed while naming a variable in VB?
How would you create Visual basic Document file?
What is script control?
Is the Access Engine and Visual Basic Pro good enough for database work?
How would you use ActiveX Dll and ActiveX Exe in your application?
What is the use of OLE?
How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?
What is the Windows API?
How do you change the icon and otherwise manipulate the DOS box?
What is file in vb?
What are the tools in visual basic?
How would you create your application in DHTML?
What is instantiating?
__ no of controls in form.
How would you attach pictures in Treeview Control?