JSP Question:

What is a Java package and how is it used?

Tweet Share WhatsApp

Answer:

A Java package is a naming context for classes and interfaces. A package is used to create a separate name space for groups of classes and interfaces. Packages are also used to organize related classes and interfaces into a single API unit and to control accessibility to these classes and interfaces.

Download Java JSP Programming PDF Read All 26 Java JSP Programming Questions
Previous QuestionNext Question
What is the difference between a Scrollbar and a ScrollPane in JSP?What are the Object and Class classes used for?