adsense


Monday, 9 November 2015

ADVANCE VB SCRIPT CLASS METHODS PAGE 102

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: