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 / 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


Please Help Members By Posting Answers For Below Questions

Explain the usage of Web Browser Control?

2095


Explain about conditional operators?

949


What is Seek Method which type of record set is available this?

1859


Explain about control properties?

1054


Why visual basic is used?

956


how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?

2393


what are the different Types of Recordsets.

2083


What is visual basic used for?

986


What is database vb?

901


How do I add a form in visual basic?

900


How would you access objects created in ActiveX Exe and ActiveX D1T ?

1991


How can you Implement windows functionality in VB?

2042


What are the uses of List View Control?

1847


What type of databases you can access through ADO Data Access Object?

2040


How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?

1307