Core Java - Interview Questions and Answers for 'Advantages of packages' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Advantages of packages' - 1 question(s) found - Order By Newest

 Q1. What is a package and what are its advantages ?Core Java

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     Asked in 1 Companies      Basic


Related Questions

  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 ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: