English

A package contains: - Computer Applications

Advertisements
Advertisements

Question

A package contains: 

Options

  • Tags

  • Classes 

  • Data 

  • Arrays 

MCQ

Solution

Classes

Explanation:

A package in Java is a namespace that contains a collection of linked classes and interfaces. It reduces naming conflicts and makes code easier to maintain and manage. Packages can contain sub-packages, but their primary purpose is to organise classes together.

shaalaa.com
  Is there an error in this question or solution?
Chapter 2: Library Classes - EXERCISES [Page 177]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 2 Library Classes
EXERCISES | Q I. 1. | Page 177
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×