MCQ
What is the syntax of Package statement?
  • A
    class<packagename>;
  • B
    object <packagename>;
  • package <packagename>;
  • D
    method <packagename>;

Answer

Correct option: C.
package <packagename>;
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