MCQ
Which of the following definitions in Java consist of function header and the sequence of statements enclosed between braces {and}?
  • Method (Function)
  • B
    Variable
  • C
    Constant
  • D
    None of these

Answer

Correct option: A.
Method (Function)
Method (Function)

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