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


Please Help Members By Posting Answers For Below Questions

How can I create a VBX?

1086


What is the Windows API?

1002


How do I call help files from a VB program?

999


How do I prevent multiple instances of my program?

973


What do you know about chaining views.

523






What is instantiating?

1404


which property used to add a menus at runtime?

1465


It possible to call OLEDB?s Features directly in VB without using any control?

1605


____ property is used to lock a textbox to enter a datas.

1169


What are the properties of datacontrol?

1521


How to find the current record position in data control?

1442


How would you convert a form into document?

1630


___ is the control used to call a windows application.

1071


How can you Navigate from the DHTML application to another DHTML application? .

1620


What is the use of Hyperlink control for DHTML applications?

1918