Computer Science, asked by AnanyaSM, 8 months ago

What are user defined packages?​

Answers

Answered by GurpreetSinghLaddar
0

Answer:

A package as the name suggests is a pack(group) of classes, interfaces and other packages. In java we use packages to organize our classes and interfaces. We have two types of packages in Java: built-in packages and the packages we can create (also known as user defined package).

Answered by thompson94
1

Answer:

A package as the name suggests is a pack(group) of classes, interfaces and other packages. In java we use packages to organize our classes and interfaces. We have two types of packages in Java: built-in packages and the packages we can create (also known as user defined package). In this guide we will learn what are packages, what are user-defined packages in java and how to use them.

In java we have several built-in packages, for example when we need user input, we import a package like this:

Source- Beginners Book

Similar questions