What is a package?

Answers were Sorted based on User's Feedback



What is a package?..

Answer / janet

A package is a collection of classes and interfaces that
provides a high-level layer of access protection and name
space management.

Is This Answer Correct ?    4 Yes 0 No

What is a package?..

Answer / suganthi

Package are container for classes that are used to keep the
class name space compartmentalized.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Which class is the superclass for all the classes?

0 Answers  


Write the program numbers into words.For example 2345==two thousand three hundred fourty five

2 Answers   TCS,


What is preparedstatement in java?

0 Answers  


Can a class with private constructor be extended?

0 Answers  


What is stringjoiner ?

0 Answers  






What is difference between hashset and hashmap?

0 Answers  


In which language JVM (Java Virtual Machine) is implemented

5 Answers  


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

0 Answers  


Why do we need strings in java?

0 Answers  


Explain how hashmap works?

0 Answers  


Which is better singleton or static class?

0 Answers  


Difference between start() and run() method of thread class?

0 Answers  


Categories