What is a Java package and how is it used?

Answers were Sorted based on User's Feedback



What is a Java package and how is it used?..

Answer / guest

Package is a separate naming context for the group of
classes and interfaces.It provides a high level layer of
access protection and name space management.Packages can
have access specifiers.

Is This Answer Correct ?    13 Yes 2 No

What is a Java package and how is it used?..

Answer / kumar

package is a related classes,first software companies facing the problem of package creation,in java devolopers using all package names are co-inside.so thats time they are start using
package names our company website names.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Core Java Interview Questions

Why you should not use singleton?

0 Answers  


Difference between operator overloading and function overloading

0 Answers   Tavant Technologies, Virtusa,


How list contains works in java?

0 Answers  


Is a copy constructor?

0 Answers  


What is the purpose of javac exe?

0 Answers  






can you use the two main method in same class?how?

4 Answers   DELL, Geosoft, SparkTG,


What are the important features of Java 11 release?

0 Answers  


Can we create our own daemon thread?

0 Answers  


Explain parallel processing in java8?

0 Answers  


What is java literals?

0 Answers  


who can we create the object of a class? in how many ways we can create it (max 5)

2 Answers  


different types of threads?

18 Answers   TCS,


Categories