MCQ
By which of the following behavior is defined in a class?
  • Method
  • B
    Variable
  • C
    Function
  • D
    Code

Answer

Correct option: A.
Method
Method

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free