Java OCA OCP Practice Question 79

Question

Which of the following may be declared final? (Choose all that apply.)

  • A. Classes
  • B. Data
  • C. Methods


A, B, C.

Note

Classes, data, and methods can be declared final.

Variables cannot.




PreviousNext

Related