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 unicode with example?

614


What are data structures in java?

527


what is an objects lock and which objects have locks? : Java thread

532


Can java list be null?

545


In a container there are 5 components. I want to display all the component names, how will you do that?

1557






What are the string methods in java?

580


Is an empty arraylist null?

591


What is the method to expand and collapse nodes in a jtree?

606


How many characters is 2 bytes?

526


do I need to use synchronized on setvalue(int)? : Java thread

551


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

613


What are anonymous inner classes?

561


What is the difference between inheritance and encapsulation?

593


What is the use of a copy constructor?

570


Is main a keyword in java?

534