Computer Science, asked by T4Talent, 1 year ago

(c) Name any two library packages.

Answers

Answered by Brainlystudent250004
40
Here is your answer:-
java.util and java.lang
Answered by syed2020ashaels
0

Answer:

Two library packages are:

java.io

java.util

Explanation:

In Java, similar classes can be grouped together inside of a package. Consider it to be a subfolder within the file directory. We organise our code into packages so that we can reduce the risk of naming collisions and make it easier to update. The following are the two primary classifications of packages:

Built-in Packages (packages from the Java API) (packages from the Java API)

User-defined Packages (create your own packages)

Included in the Java Development Environment is a library of prewritten classes known as the Java Application Programming Interface (API). These classes can be used without cost.

The library includes a wide variety of components, including those for handling input, programming databases, and a great deal more. Oracle's website, which can be accessed at https://docs.oracle.com/javase/8/docs/api/, has the comprehensive list.

Packages and classes make up the library's organisational structure. This means that you have the option of importing a single class, which will bring with it all of the methods and attributes associated with that class, or you may import a whole package, which will bring with it all of the classes that belong to the chosen package.

See more:

https://brainly.in/question/10228296

#SPJ3

Similar questions