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
Types of cursors in RDO.
What is DAO?
How can you force new objects to be created on new threads?
Is it possible to Access BackEnd procedures? Explain.
What is difference between datagrid and flexgrid?
Explain Types of DBCombo boxes?
What is dao in vb?
What are the uses of List View Control?
by writing MACRO CODE,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). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.
How many objects resides in ADO ?
Explain about conditional operators?
How do I get the Tab key to be treated like a normal character?
How do I create a new form in visual basic?
what is the Difference between Linked Object and Embedded Object?
Difference between Class Module and Standard Module?