Login or sign up Lost password?
Login or sign up
Net basic syntax on the basis of our observations in it: Imports System Public Class Rectangle Private length As Double Private width As Double 'Public methods Public Sub Accept Details() length = 4.5 width = 3.5 End Sub Public Function Get Area() As Double Get Area = length * width End Function Public Sub Display() Console. The type of a variable determines how much space it occupies in storage and how the bit pattern stored is interpreted. Read Key() End Sub End Module Module Data Types Sub Main() Dim n As Integer Dim da As Date Dim bl As Boolean = True n = 1234567 da = Today Console. The syntax for the Enum statement is as follows: Module constants Nenum Enum Colors red = 1 orange = 2 yellow = 3 green = 4 azure = 5 blue = 6 violet = 7 End Enum Sub Main() Console.