A collection of prewritten, ready-made softwareroutines that act as templates for programmers to use in writing object-orientedapplication programs. Class libraries are typically used to provide GUI functions like buttons, scroll bars, icons and windows. Class libraries greatly simplify the work of the programmer who can use the pretested code instead of having to write new code.