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

What is database vb?

510


How do I do drag & drop between applications?

991


How to down load image properties.

612


Is there any Edit method in ADO Data Access method?

1520


what is the Property used to add a menus at runtime?

1651






What is the use of Hyperlink control for DHTML applications?

1932


What are the types of API Types.

1696


What is the use of Active Control Property?

1468


Explain about declaring variables in Visual basic?

536


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).

1777


How to customize workgroup message?

610


Is visual basic case sensitive?

608


How would you create properties in ActiveX Control?

1437


What is FireHouse Cursors?

1763


What is the-use of property page Wizard in ActiveX Control?

1551