Write a Class statement that defines a class named Furniture. The class contains two private variables named_strItemNumand  _dblPrice. Name the corresponding properties ItemNumber and Price.

What will be an ideal response?

Public Class Furniture
Private _strItemNum As String
Private _dblPrice As Double

Public Property ItemNumber As String
Get
Return _strItemNum
End Get
Set(value As String)
_strItemNum = value
End Set
End Property

Public Property Price As Double
Get
Return _dblPrice
End Get
Set(value As Double)
_dblPrice = value
End Set
End Property

End Class

Computer Science & Information Technology

You might also like to view...

The Zoom bar in PowerPoint is the horizontal bar at the bottom of the window displays how many slides are in the presentation and the number of the active slide

Indicate whether the statement is true or false

Computer Science & Information Technology

You can quickly format a table by applying a Table ________

Fill in the blank(s) with correct word

Computer Science & Information Technology