Computer Applications
What is a java package? Give an example.
Input in Java
58 Likes
Answer
A package is a named collection of Java classes that are grouped on the basis of their functionality. For example, java.util.
Answered By
35 Likes
Related Questions
A program needed to read an integer, but the user entered a string instead, and an error occurred when the program was executed. What kind of error is this?
A student was asked to write a program for computing the area of a rectangle and he, mistakenly, wrote the program to compute the perimeter of a rectangle. What kind of error is this?
Explain the use of import statement with an example.
Distinguish between the following:
next() and nextLine()