VISUAL BASIC

INTRODUCTION TO NET

BASICS OF NET FRAMEWORK

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The formal-parameter-list is always enclosed in ____
A
Square
B
Semicolon
C
Parenthesis
D
Colon
Explanation: 

Detailed explanation-1: -The formal parameters are enclosed in parentheses.

Detailed explanation-2: -Parameter Written in Function Definition is Called “Formal Parameter. Formal parameters are always variables, while actual parameters do not have to be variables. Parameter Written in Function Call is Called “Actual Parameter”. One can use numbers, expressions, or even function calls as actual parameters.

Detailed explanation-3: -formal parameter-the identifier used in a method to stand for the value that is passed into the method by a caller. actual parameter-the actual value that is passed into the method by a caller. For example, the 200 used when processDeposit is called is an actual parameter.

Detailed explanation-4: -The Actual parameters are the variables that are transferred to the function when it is requested. The Formal Parameters are the values determined by the function that accepts values when the function is declared. In actual parameters, only the variable is mentioned, not the data types.

Detailed explanation-5: -The formal parameters are local variables, which exist during the execution of the function only, and are only known by the called function. They are initialized when the function starts by copies of the data passed as actual parameters.

There is 1 question to complete.