Computer Applications
Related Questions
Distinguish between the following:
next() and next().charAt(0)
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?
Distinguish between the following:
next() and nextLine()
What is a java package? Give an example.