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

Can we have a method name same as class name in java?

0 Answers  


What is boolean law?

0 Answers  


Is it possible to use string in the switch case?

0 Answers  


extending thread class or implementing runnable interface. Which is better? : Java thread

0 Answers  


What is meant by method?

0 Answers  






Why string is popular hashmap key in java?

1 Answers  


Why is java called the platform independent programming language?

0 Answers  


what is main difference b/w abstract class and interface

4 Answers  


How hashset works internally in java?

0 Answers  


What is type conversion in java?

0 Answers  


What is the current version of java?

0 Answers  


Can we declare register variable as global?

0 Answers  


Categories