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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you configure gui map?

700


Name the different modes of recording?

556


supose 10 times text data is there but it will run 8 times whtat will you do.

1546


How you integrated your automated scripts from TestDirector?

633


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

616






Define parameterizing?

595


What is the difference between gui map and gui map files?

560


Write test scripts on a scenario where you have to transfer data from one table to another.

1573


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

624


soft key for virtual object wizard ?

1896


How to do text matching?

606


How do you call windows APIs, explain with an example?

1540


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

1627


What different actions are performed by find and show button?

653


What information is contained in the checklist file and in which file expected results are stored?

676