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
i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI).
How would you create your application in DHTML?
What is ActiveX Document?
Explain about arrays?
Give brief description about class?
What are the uses of List View Control?
Draw Sequence Modal of DAO? Explain.
Differentiate between DAO,ADO and Adodc as in data access objects?
How would you run your ActiveX Document Dll?
How would you access objects created in ActiveX Exe and ActiveX Dll
What is the need of tabindex property is label control?
__ no of controls in form.
What is the use of Tabledef?
What is OLEDB?
_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.