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 are types of black box and white box testing?

1 Answers  


In an Testing Interview, in winrunner the following question asked. what is the use of compile module? how u r implemnted these compile modules in ur project. give any TSL script of compile module?

1 Answers  


How you integrated your automated scripts from TestDirector?

0 Answers  


What Is Test policy and what is Test Strategy ? differenciate between them? Explain with examples?

5 Answers   Accenture,


what is contained in the GUI check list?

1 Answers   FCG,






hi everyone today is the first time i saw this website,and hi iam siraj,iam very impressed by seeing evryones response towards questions,iam a newcomer and i have got tryining in testing can anyone please send me some projects relaited to testing.i know it is very confidential but still if u send it will a great help. my mail id mateen_012005@yahoo.com

3 Answers   Satyam,


Where to use the public or private functions in your script?

2 Answers  


what is the diff. Between GUI_unload() and GUI_close()?

3 Answers   Logica CMG,


Name the different types of checkpoints?

0 Answers  


How do you scope, organize, and execute a test project?

2 Answers   IBM, Wipro,


How to have winrunner insert yesterdays date into a field in the application?

0 Answers  


what is the difference between data driven test(ddt) and parametrization

7 Answers   Agile Software, CTS,


Categories