You declared a constant in a main test..Later you want tried
to reinitialize that constant..what will happened?
i.e const i=10;
--
---
i=20;
what will happen?

Answers were Sorted based on User's Feedback



You declared a constant in a main test..Later you want tried to reinitialize that constant..what wi..

Answer / mercurytsl

No it's value not changed.Instead at debugging time itself
it gives error message like "you cannot Reinitialize a
constant" like that

Is This Answer Correct ?    1 Yes 0 No

You declared a constant in a main test..Later you want tried to reinitialize that constant..what wi..

Answer / guest

it s value will be changed to 20 no longer 10.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WinRunner Interview Questions

What is the use of virtual object wizard and how it is used?

0 Answers  


Welcome link is dynamic. How do you handle? What is your approach and write script.plz send answer

0 Answers  


Where did you learn winrunner and testdirector?

0 Answers  


how to perform regression testing using winrunner?

1 Answers  


How do you run your test scripts?

1 Answers  






What is the purpose of different record methods 1) record 2) pass up 3) as object 4) ignore.

0 Answers  


Explain the purpose of different record methods?

0 Answers  


how to invoke the window based application in win runner

1 Answers   Satyam,


When Both Developer and Test Engineer conducting testing different?

1 Answers  


How do you find out which is the start up file in winrunner?

0 Answers  


i was given test cases which are in quality center and i need to automate them using winrunner . the application is a power builder , client server and based on windows. so how should i go about automating my test cases ( winrunner and quality centre are the tools used)

1 Answers  


which method are using to obtain runtime property of an object

1 Answers   Polaris,


Categories