Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| |||||||||||
| Core Java - Interview Questions and Answers for 'Package' - 6 question(s) found - Order By Rating | |||||||||||
| |||||||||||
| Ans. Redhat Packaging system or rpm is a Package Manager or type of Package Management system extensively used for Linux systems. | |||||||||||
| |||||||||||
| Ans. No, we should be lean in loading only packages which are required. Loading packages which are not being used result in memory overheads. | |||||||||||
| |||||||||||
| Ans. No, but we can use wild card (*) to do so For example - import java.util.* will import all packages with name starting with java.util | |||||||||||
| |||||||||||
| Ans. No, It is loaded by default by the JVM. | |||||||||||
| |||||||||||
| Ans. It's a facility that allows traversal over the records pulled from a table or combination of tables. Its like iterator in 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. | |||||||||||
| |||||||||||