What is the difference between a property a method and an
event? Give an example of each.
Answer Posted / manish mehta
Object has three characteristics
and these are
1.Property
2.Method
3.Event
Property represents (data) characteristic of an object..
Method represents the behavior(action)performed by an object..
Event is msg sent by an object to signal an activity
Example:-
For a class Employee
FirstName,LastName,Salary <------ Properties
Hire,Promote <------ Methods
On hire, On promote <------ Events
Is This Answer Correct ? | 24 Yes | 6 No |
Post New Answer View All Answers
How to down load image properties.
What is the use of progress Bar Control?
What is DDE?
Through which protocol OLEDB components are interfaced?
Can any one please suggest which institute is providing Advance Excel & VBA Macros in Excel training in Hyderabad.
What language does visual basic use?
What is the need of tabindex property is label control?
How do I dial a phone number without using the MSCOMM VBX?
How many File System Controls are there Explain?
How do I do drag & drop between applications?
State about the different types of visual basic data?
What is the use of Imagelist Controls ?
What is the difference between adodc and adodb in vb?
How many ways we can access file using VB?
What is recordset in visual basic?