whaht is the difference between CLASS & OBJECT?

Answers were Sorted based on User's Feedback



whaht is the difference between CLASS & OBJECT?..

Answer / girishkumar

Ex: My application having ok button, 2 edit boxs, submit button, checkbox,radio button, cancel button,

CLASS:
in the above objects. we will decide the CLASS, Based on the similar kind of operations what we perform on the objects.
Ok,submit & Cancel buttons belongs to one CLASS.---click
2 Edit boxes belongs to one CLASS.----Enter the data
Radio button belongs to one CLASS.----select
checkbox belongs to one CLASS.---set

OBJECT: Components in the application is call it as OBJECTS.

Is This Answer Correct ?    9 Yes 0 No

whaht is the difference between CLASS & OBJECT?..

Answer / ramchandra patil

Class: Collection of data and code.we bind the data and code
together. Its is one type wrapper.
Object: Instance of a class.
for eg. Flower is class and Rose is a object of class.

Please let me know still if not cleared and if I am wrong.


Best Regards,


Ramchandra Patil

Is This Answer Correct ?    6 Yes 0 No

whaht is the difference between CLASS & OBJECT?..

Answer / pravati

class is the property of an object but object is the component of an application or software.
u can spy the object and will found the class in properties
Ex:when u spy Webbutton u can find class property is button

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

Explain about the Test Fusion Report of QTP ?

1 Answers   Ordain Solutions,


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


Does QTP recognize two diff browser's at a time..?if possible how..? Is it possible run scripts on Mozilla which are recorded on IE..?..How..?

12 Answers   IBM, Semantic Space, TCS,


How to change the priorities of the recovery scenario properties?

0 Answers  


What is the extension of qtp local repository?

0 Answers  






How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?

1 Answers  


What expansion of "MIC" in MICPASS (TEST ReportPAGE)

11 Answers   TCS,


in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser

4 Answers   Verizon,


What are the things(properties, and other details) will be recorded while recording an object using normal recording?

0 Answers  


how to test background color and dynamic images during runtime

4 Answers   Accenture, Oracle,


CAn anybody tell me how can I use QTP to capture any video in my application?I want to see the video file opened in my application after the tests are completed in tests results.Can anybody help me?

6 Answers  


How to make arguments optional in a function?

6 Answers   Liquid Crystal,


Categories