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
What is data control in vb?
How can I create a VBX?
How do I dial a phone number without using the MSCOMM VBX?
What is datagrid in vb net?
DHTML Is used for what?
Is it possible to set a shortcut key for label?
How come I get a "No Current Record" error when I use a a Data Control on an empty table?
___ Property is used to count no. of items in a combobox.
What do you know about chaining views.
Explain what is Visual basic?
Difference between Tabletype and Snapshot?
___,___ and __ are difference between image and picture controls.
how to use telugu language in vb6? any unicode data is available for telugu or not?yes means how to use? my desired output is telugu only? i am doing project like(telugu calendar),my output should be print in telugu only? pls send me the solution with code?
How would you add elements and pictures to listitems in listview control?
What is recordset in visual basic?