what is a package?

Answer Posted / sudhakar

Java provides a mechanism for partitioning the class name
space into more manageable chunks. This mechanism is the
PACKAGE.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

1899


What is a flag and how does it work?

497


What is the function of compareto in java?

581


What will be the default values of all the elements of an array defined as an instance variable?

544


Can a constructor be protected?

526






What does the “static” keyword mean? Can you override private or static method in java?

621


Explain about core java?

618


How will you invoke any external process in java?

596


Is a class an object?

569


How do you detect memory leaks?

574


Explain the difference between extends thread vs implements runnable in java?

528


What is a buffer in computer?

502


Can a constructor call the constructor of parent class?

528


Why is the main method static?

593


What is finalize()?

596