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
Difference between Class Module and Standard Module?
What is the use of Tabledef?
It is possible to access Text (x.txt) files? Explain.
Explain the "cursortype" and "Locktype" in VB?
what are the Types of LockEdits in RDO?
What is meant by Establish Connection in RDO?
What are 3 main differences between flexgrid control and dbgrid control?
1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report
What is instantiating?
To populate a single column value which dbcontrols you to use?
Write the Steps in Creating an ActiveX Control?
how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?
What is the use of Immediate, Local Window?
Types of ActiveX Components in VB?
What is the need of tabindex property is label control?