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. |
|
| |||||||||||
Core Java - Interview Questions and Answers for 'Package' - 6 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 Asked in 1 Companies Basic | |||||||||||
| |||||||||||
Ans. No, we should be lean in loading only packages which are required. Loading packages which are not being used result in memory overheads. | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  import  import packages Asked in 1 Companies | |||||||||||
| |||||||||||
Ans. No, It is loaded by default by the JVM. | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  java   jvm   java.lang.package   yes-no | |||||||||||
| |||||||||||
Ans. It's a facility that allows traversal over the records pulled from a table or combination of tables. Its like iterator in Java. | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  databases   sql   cursors   packages Asked in 5 Companies basic   frequent | |||||||||||
| |||||||||||
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 | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  package   import packages Asked in 1 Companies basic | |||||||||||
| |||||||||||
Ans. Redhat Packaging system or rpm is a Package Manager or type of Package Management system extensively used for Linux systems. | |||||||||||
Help us improve. Please let us know the company, where you were asked this question : | |||||||||||
Like Discuss Correct / Improve  rpm  package management | |||||||||||
| |||||||||||