MCQ
Where are the classes defined when a file does not have package statement?
  • Default package
  • B
    Public
  • C
    Private
  • D
    Protected

Answer

Correct option: A.
Default package
Default package

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