Computer Science, asked by piyasarkar05, 1 year ago


EXPLAIN  \:  \: DIM  \:  \: STATEMENT  \:  \: WITH \:  \:  EXAMPLE \:  \:  \: class \: 7

Answers

Answered by manikarnika99
3

The Visual Basic compiler uses the Dim statement to determine the variable's data type and other information, such as what code can access the variable. The following example declares a variable to hold an Integer value. VB. Dim numberOfStudents As Integer.

Example 1. ' Declare a one-dimensional Integer array and a Single ' variable. ...

Example 2. Dim xB As New Button("Merge", 60, 125) ...

Example 3. ' Declare iVer and kVer as Integer variables. ...

Example 4. ' Declare marCell and perDue as Integer variables. ' ...

Hope it is useful

Plz mark as brainliest

Similar questions