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
Draw Sequence Modal of DAO? Explain.
___ property used to add a menus at runtime.
What are the uses of List View Control?
What is the use of NEW Keyword? Explain.
How do I program the Novell NetWare API from VB?
Which type of object requires this object?
How can you filter out specific type of file using file system controls?
Difference between Linked Object and Embedded Object?
I get a "file not found" error on the IIF function when I distribute by program. Why?
how to use unicode data in vb6 regarding to telugu language, my output is in only telugu language
What is the use of debug Window?
___ argument can be used to make a menuitem into bold.
What is the use of progress Bar Control?
Write the Steps in Creating an ActiveX Control?
How can you Add API functions to your Application?