Krishna Logo
qa training in canada now
Divied
Call: Anusha @ 1 (877) 864-8462

 

Latest News
Home Navigation Divied
INTERVIEW Navigation Divied QTP INTERVIEW QUESITONS Navigation Divied What is the difference between Properties and methods?
What Is The Difference Between Properties And Methods?
What is the difference between Properties and methods?

Ans: A property is a named attribute of an object. Properties define the characteristics of an object such as Size, Color etc. or sometimes the way in which it behaves.

A method is an action that can be performed on objects.

For example, a dog is an object. Its properties might include long white hair, blue eyes, 3 pounds weight etc. Its methods might be move, jump, play, breath etc.


Shadow Bottom
 
 
© 2005 -