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
Explain the usage of Web Browser Control?
Explain about conditional operators?
What is Seek Method which type of record set is available this?
Explain about control properties?
Why visual basic is used?
how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?
what are the different Types of Recordsets.
What is visual basic used for?
What is database vb?
How do I add a form in visual basic?
How would you access objects created in ActiveX Exe and ActiveX D1T ?
How can you Implement windows functionality in VB?
What are the uses of List View Control?
What type of databases you can access through ADO Data Access Object?
How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?