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


Discussion

No Comment Found