What is the difference between a property a method and an
event? Give an example of each.

Answer Posted / kunal yagnik

Methods and properties basically both are functions defining
different states if we relate them to real world.Both are
defined in a class and the procedure to execute them is a
bit different but this is only done to make the code more
transparent and visible.To understand this look the example
below :
He can walk,talk,run,write are methods while He is
sweet,soft spoken,fair are properties.
We will get the closer look if we try to implement these on
working code.

Is This Answer Correct ?    30 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is understand in resource tracking?

677


what are the different Types of Recordsets.

1539


What is ado data control in vb?

531


What is recordset in visual basic?

568


How many objects resides in ADO ?

1506






Is it possible to set a shortcut key for label?

1398


Explain about declaring variables in Visual basic?

530


___,_____ and ____ container objects.

1042


In which areas the Error occurs?

1470


Clear property is available in ____,___ control.

1068


How can I access a record by record number?

1048


How would you add elements and pictures to listitems in listview control?

1446


Draw Sequence Modal of DAO and Explain?

1501


Discuss the working with to-do lists.

577


What is the use of debug Window?

1547