Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - What is the difference between property and method?




254
views
asked marvit August 21, 2014 08:03 AM  

What is the difference between property and method?


           

1 Answers



 
answered By Dharma   0  
Properties are used to represent data, whereas methods are used to performs actions.

Properties are created by using getter and setter. get{} and set{} but methods create like public void method1(parameter list here)
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert