What is a Java package and how is it used?
Answers were Sorted based on User's Feedback
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 |
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 |
Can we have a method name same as class name in java?
What is boolean law?
Is it possible to use string in the switch case?
extending thread class or implementing runnable interface. Which is better? : Java thread
What is meant by method?
Why string is popular hashmap key in java?
Why is java called the platform independent programming language?
what is main difference b/w abstract class and interface
How hashset works internally in java?
What is type conversion in java?
What is the current version of java?
Can we declare register variable as global?