MCQ
What is consisted in the definition of the method in Java ?
  • A
    Function header
  • B
    The sequence of statements enclosed within { }
  • Both A & B
  • D
    Loops

Answer

Correct option: C.
Both A & B
C

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