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 |
What is the difference between a constructor and a method?
Can we execute a program without main?
What is the difference between static and non-static variables in java programming?
Question 6 [9] 6.1 In what situations (in general) would you use a TreeMap? (3) 6.2 In what situations (in general) would you use a HashSet to store a collection of values?
what is difference between servletconfig and servletcontext?
How does enum work in java?
what is the difference between HashMap And HashTable?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
Is Java a dying language?
What is the major drawback of internal iteration over external iteration?
What is the main use of java?
Which of the following classes will have more memory allocated?