menu

Methods

date_range 23/12/2017 00:00

Methods

  • Defines behaviour
  • Default access modifiyer is private, return type is void and can contain zero or more parameters
  • Method Signature consists of method name, number of parameters, type of that parameters.
  • Return Type is not a part of the method signature.
  • params is an object array of any type which can be used to pass the number of parameters when the exact number is not known.

Delegates

date_range 22/12/2017 00:00

We are going to see how delegate works with help of our gradebook class which we created in initial stages. Our objective is to notify user whenever there is change of our name of the gradebook.

OOPS

date_range 21/12/2017 00:00

OOPS