Computer Science, asked by iammegasree, 7 months ago

consider the following statements and choose the correct choice. A)java long package is automatically imported in all java classes .B)Any number of subpackages can be created under a user defined package. ​

Answers

Answered by devipunita838
0

Answer:

I AM TRY.....

WAIT A MINUTES.........

Explanation:

I AM TRY.....

WAIT A MINUTES.........

Answered by qwcricket10
0

Q) consider the following statements and choose the correct choice.

A)java lang package is automatically imported into all java classes.

B)Any number of sub-packages can be created under a user-defined package. ​

Option (A) java lang package is automatically imported into all java classes.

  • A class-based object-oriented language that is used for implementation by all is Java.
  • When similar classes, interfaces, and sub-packages are grouped together that is called a package in java.
  • The basics for setting up the java lang are provided by the java lang packages.
  • There are two packages that the java language import by default, they are the lang package and the present package used.
  • So, here option (A) is the correct sentence.
  • In java the package is categorized as two built-in and user-defined.
  • When one package is developed or created inside another package it is called a sub package.
  • In a user creating package only one package or sub-package can be created.
  • So, option (B) is incorrect.

#SPJ2

Similar questions