COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button
ADVANCE VB SCRIPT CLASS METHODS
Class Methods
Methods allow the class to perform the operation that the
developer wants. The Methods are nothing but Functions or Subroutines.
Example
In the below example, we are using Properties to wrap private variables.
Class Car
Private Model
Private Year
Public Start()
Fuel = 2.45
Pressure = 4.15
End Function
End Class

No comments:
Post a Comment