In this topic, you will learn about, What do you mean by implicit and explicit variable declaration?
Implicit declaration of variable creates a specified type of variable where implicit declaration specifies at the beginning of any functional module.
The implicit variable must be declared at the starting of the program and specify data types. It is declared with the help of a dim(dimensional) keyword.
Dim x as integer
Dim y as integer
Dim z as integer
Visual Basic also supports explicit variable declaration but explicit variable only uses variant datatypes. It can be accessed directly without any declaration statement but it consumes 20-byte memory space and sometimes very difficult to manage.
Comment below if you have queries related to the above article What do you mean by implicit and explicit variable declaration?