what is meant by package in java?

Answer Posted / sonali

package is collection of classes and interfaces, that
provides a high level layer of access protection and nams
space mgt. Also it is a way of grouping of variety of
classes and interfaces together.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is byte [] in java?

536


What loop means?

559


What is method with example?

582


What is treeset and treemap in java?

582


What are scalar data types?

526






Can main() method in java can return any data?

645


Can java arraylist hold different types?

496


How many characters is 16 bytes?

541


How do you execute a thread in java?

505


What is balanced tree in java?

536


Why scanner is used in java?

550


Should you use singleton pattern?

523


What is the default execution method in java?

624


How to sort array in descending order in java?

515


Explain the access modifiers for a class, method and variables?

662