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

how many types of run modes are there in Winrunner

2 Answers   SAP Labs,


Hai guys can any one tell me tnhe difference between the product testing and Project testing?

2 Answers  


what is Recovery senario?

1 Answers   Ordain Solutions,


What is the purpose of regexp_label property and regexp_msw_class property?

0 Answers  


How many types of tests can u create in winrunner?

2 Answers   Covansys,






What is the function of eval function?

1 Answers   Accenture,


What is the different between GUI map and GUI map files?

1 Answers   Ordain Solutions,


Name the different modes of recording?

0 Answers  


WHAT S/W LANGUAGES DOES THE WINRUNNER & QTP SUPPORT? WHAT ARE THE LATEST VERSION OF BOTH THE TOOLS?

2 Answers  


What is the purpose of regexp_msw_class property?

0 Answers  


When you create GUI map do you record all the objects of specific objects?

1 Answers  


How to check property of specific icon is highlighted or not?

0 Answers  


Categories