What is the difference between a property a method and an
event? Give an example of each.
Answer Posted / gaurav
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 ? | 92 Yes | 8 No |
Post New Answer View All Answers
How can you Navigate from the DHTML application to another DHTML application? .
Difference between Linked Object and Embedded Object?
how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?
what are the Default cursor Type and LockEdit type in DAO?
___,__,___ are the type of combo box?
Which language is used in visual basic?
Explain the differences between ActiveX Dll and ActiveX Exe?
What is meant by Establish Connection in RDO?
How would you create properties by using class Builder Wizard?
How do I get my application on top?
what are the Differences between Recordset and Resultsets?
How would you find out the value property in Slider Bar Control?
What is Pseudocode?
what is the Difference between Recordset and Querydef?
____ is the difference between Listindex and Tab index.