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
Draw Sequence Modal of RDO and Explain?
Discuss the working with to-do lists.
How to load and unload child forms.
How to down load image properties.
What is vbs file?
How would you add elements and pictures to listitems in listview control?
Explain Default cursor Type and LockEdit type in DAO?
What is the difference between adodc and adodb in vb?
What is the use of Immediate, Local Window?
What is the default workspace?
How can you force new objects to be created on new threads?
what are the Types of DBCombo boxes?
What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.
How can you Implement windows functionality in VB?
Explain the usage of Web Browser Control?