1.

Which of these methods can be used to know the degree of adjustment made by the user?(a) getValue()(b) getAdjustmentType()(c) getAdjustmentValue()(d) getAdjustmentAmount()The question was asked by my college director while I was bunking the class.Question is from ActionEvent & AdjustmentEvent Class in division Event Handling of Java

Answer»

Correct choice is (a) getValue()

To elaborate: The amount of the adjustment can be OBTAINED from the getvalue() method, it returns an INTEGER VALUE corresponding to the amount of adjustment MADE.



Discussion

No Comment Found

Related InterviewSolutions