17.6k views
4 votes
Which of the following statements is false? a. The Java API consists of packages. b. The Java API helps programmers avoid "reinventing the wheel." c. The Java API consists of import declarations. d. None of the above.

User Ftravers
by
5.2k points

1 Answer

4 votes

Answer:

The answer is "Option c".

Step-by-step explanation:

In Java programming, the API stands for "application programming interface", which is also known as the lists of all classes in the JDK. It contains all packages, classes, and interfaces, with their techniques, fields. It is a built-in class, which gives the programmer a great deal of usability, and correct choices can be described as follows:

  • In option a, It is correct because it imports the package to use API.
  • In option b, It allows you to "re-invent the wheel" by developers, that's why it is correct.
User Joe Almore
by
4.7k points