Social Sciences, asked by ospd0e, 10 months ago

What is package in comp​

Answers

Answered by Soumok
21

QUESTION:What is a package in java?

_____________________

ANSWER⤵⤵

A PACKAGE IS A COLLECTION OF DIFFERENT CLASSES AND THEIR FUNCTIONS WHICH CAN BE USED IN A PROGRAM..

HOPE IT HELPS U...

♯BE BRAINLY❗

Answered by Anonymous
12

A package is a group of classes , interfaces which shares something common .

An example of a package is java.util.*;

This is a package in JAVA .

The package can be imported by using the keyword called "import".

Import is used before the package name in order to import the package.

Example :

import java.util.;

Similar questions