Search Interview Questions
| 2778 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers for 'Moving picture company (mpc)' - 1 question(s) found - Order By Newest|
|Ans. Package is a namespace that organizes a set of related classes. |
Advantages of Packages
1. Better Organization of classes.
2. Saves from the problem of duplicate names as duplicate class names are allowed across different packages.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve package advantages of packages Moving Picture Company (MPC) Basic|
|Can I import same package/class twice? Will the JVM load the package twice at runtime?|
|Do we need to import java.lang package ?|
|How can I change the default location of the generated jar when I command "mvn package"?|
|What is a Cursor ?|
|Name few classes that are part of java.io package ?|
|Name few classes that are part of java.lang package ?|
|Name few classes that are part of java.util package ?|
|What is the package name for CertStoreParameters class?|
|Does importing a package imports all its sub packages too ?|