1.

What Are Class Methods?

Answer»

Methods allow the class to perform the OPERATION that the developer wants. The Methods are nothing but Functions or Subroutines.

Example:

Class Car
PRIVATE Model
Private Year 
Public Start()
Fuel = 2.45
Pressure = 4.15
END FUNCTION 
End Class

Methods allow the class to perform the operation that the developer wants. The Methods are nothing but Functions or Subroutines.

Example:

Class Car
Private Model
Private Year 
Public Start()
Fuel = 2.45
Pressure = 4.15
End Function 
End Class



Discussion

No Comment Found