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

What are 3 main differences between flexgrid control and dbgrid control?

2425


How to get freefile location in memory?

2663


How would you attach pictures in column headers of List View Control?

2098


What is the use of Visual Basic Document file?

2343


Which type of object requires this object?

2005


How would you create Visual basic Document file?

2632


How do I remove/change the picture property of a control at design time?

1571


what is the Difference between Linked Object and Embedded Object?

2288


How would you attach pictures in column headers of List View Control?

2089


What do you mean by provider?

1929


How do I set the Windows wallpaper at runtime?

1585


What is the difference between c++ and visual basic?

1311


___ is a property to resize a label control according to your caption.

1578


Is the Access Engine and Visual Basic Pro good enough for database work?

1681


How many File System Controls are there Explain?

2021