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

What is the difference between jvm and jre? What is an interface?

0 Answers  


Is 0 a real number?

0 Answers  


How does indexof work?

0 Answers  


What is yield () in java?

0 Answers  


What is Map interface?

3 Answers   Wipro,






What is design pattern and there types?

2 Answers   Cap Gemini,


How to create two different thread class inside a main function?

1 Answers  


When do I need to use reflection feature in java?

0 Answers  


Give me an example of array and linked list? Where they can be used?

0 Answers   Ericsson,


Difference between abstract class and Interfaces?

7 Answers   CTS, iFlex, PA Consulting, Sai Softech, Value Chain,


What is hash code collision?

0 Answers  


What is hypertext?

1 Answers  


Categories