Question: What Is The Difference Between the Dim, Public, and Private Statements?
Answer: Private statement variables are available only to the script in which they are declared. Public statement variables are available to all procedures in all scripts. Variables declared with Dim at the script level are available to all procedures within the script. At the procedure level, variables are available only within the procedure.
Question:
What Is The Difference Between the Dim, Public, and Private Statements? Answer:
Private statement variables are available only to the script in which they are declared. Public statement variables are available to all procedures in all scripts. Variables declared with Dim at the script level are available to all procedures within the script. At the procedure level, variables are available only within the procedure. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.