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 file extension for object in AUT captured by WR

1 Answers  


What are the reasons Winrunner fails to identify an object in the GUI?

3 Answers   Bristle Cone, Logica CMG,


What is the automation process in winrunner?

3 Answers   Second Foundation,


how you execute the function

1 Answers   Polaris,


For What are the browsers that WinRunner can Compatible? (I want Versions Like IE5.0 etc;)

3 Answers  






What is toogle breakpoints? How does it differ from break points?

0 Answers  


which method are using to obtain runtime property of an object

1 Answers   Polaris,


Have you performed debugging of the scripts?

1 Answers  


Which is the default Record Method for Static Text Object?

8 Answers   Accenture,


can any one provide some testing material?

2 Answers  


one text box is there .It will takeing some number, How will u know how many no's it will takeing by useing qtp

1 Answers  


what is split function?Give me the syntax?

3 Answers   BeBo Technologies,


Categories