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

On a web application I want to select list item 5 from a dropdown list. but QTP identifying this object as winobject. Then how can we select list item 5 from that dropdown list.

4 Answers  


who is developed QTP ? is it from Mecury or HP

2 Answers  


What is the limitation to XML Checkpoints?

1 Answers  


what is actually contain test report? can anybody post the test report

0 Answers   Synechron,


What is the syntax to call one action in another?

1 Answers  


Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).

10 Answers  


How many types of parameters are there in QTP and what are they?

2 Answers  


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1 Answers  


Explain how you can find length of array in qtp?

1 Answers  


What is the Diff between Image check-point and Bit map Check point?

4 Answers  


Hi , I am new to VBscripting, My requirment is to write a vbscript to read a row (which has coloumns like Description, Code, date(DD/MM/YY), hours etc) and export these feilds to a Website and then click on Submit Automatically on that web page. This it should do for all the Rows in that excel file. Any help is much appriciated Thanks Shalini

2 Answers   TCS,


can any one explain with an example how to test Web application using qtp

3 Answers  


Categories