Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do I prevent multiple instances of my program?

1429


How can you determine performance standards?

1143


How to get freefile location in memory?

2658


How would you attach pictures in Treeview Control?

1978


How do I speed up control property access?

1470


Advantage of ActiveX Dll over Active Exe.

2054


Explain about Caturing Baseline.

1123


How to use hyperlink?

1012


State about the different types of visual basic data?

1083


How do I play MID, WAV or other multimedia files?

1505


What is controls in vb?

1008


what are the different Types of Recordsets.

2165


How do I add a form in visual basic?

961


What is understand in resource tracking?

1379


Is it possible to Manipulate data through flexgrid? Explain.

1979