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

i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI).

2188


How would you create your application in DHTML?

1834


What is ActiveX Document?

2065


Explain about arrays?

996


Give brief description about class?

1840


What are the uses of List View Control?

1935


Draw Sequence Modal of DAO? Explain.

2386


Differentiate between DAO,ADO and Adodc as in data access objects?

6769


How would you run your ActiveX Document Dll?

1841


How would you access objects created in ActiveX Exe and ActiveX Dll

1957


What is the need of tabindex property is label control?

2003


__ no of controls in form.

1465


What is the use of Tabledef?

1975


What is OLEDB?

2275


_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.

1706