State the methods through which parameters can be passed?
Ans:-Parameters can be passed by using any one of the following mechanism. Value: -They are sometimes called in or out parameters; therefore, the data can be transferred into the method but cannot be transferred out. Reference: -Are sometimes called in or out parameters, therefore, the data can be transferred into the method and out again. Output: -Are sometimes called out parameters, data can be transferred out of the method.