JSP Question:
Download Questions PDF

What is a Java package and how is it used?

Java JSP Programming Interview Question
Java JSP Programming Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between a Scrollbar and a ScrollPane in JSP?What are the Object and Class classes used for?