KnowledgeBoat Logo
|

Computer Applications

What are library classes? Give an example.

Java Library Classes

ICSE 2011

59 Likes

Answer

Java Library classes are a set of predefined classes in the form of packages that are provided to the programmer as part of Java installation. Library classes simplify the job of programmers by providing built-in methods for common and non-trivial tasks like taking input from user, displaying output to user, etc. For example, System class in java.lang package of Java Library classes provides the print() and println() methods for displaying output to user.

Answered By

30 Likes


Related Questions