What is meant by packages?

Answers were Sorted based on User's Feedback



What is meant by packages?..

Answer / ranganathkini

Packages are a way of grouping classes with related
functionality there by possible avoiding class name
collision and making it easier for the class library to be used.

Is This Answer Correct ?    18 Yes 4 No

What is meant by packages?..

Answer / ravikiran(aptech mumbai)

packages are the namespaces to for a group of classes and
interfaces

Is This Answer Correct ?    11 Yes 3 No

What is meant by packages?..

Answer / dhivyashree.p

packages are the collection of pre-defined classes and
objects. which is used to reduce the size of the program and
use the functions in the predefined classes in our own
function simply by using the format with appropriate name to
use the required classes.

Is This Answer Correct ?    8 Yes 4 No

What is meant by packages?..

Answer / ania

it is a collection of class files.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.

6 Answers  


Is object a data type in java?

0 Answers  


Can we sort arraylist in java?

0 Answers  


Explain throw keyword in java?

0 Answers  


What is the difference between import java.util.date and java .util?

0 Answers  






What is a local class in java?

0 Answers  


How does static modifier work?

1 Answers   Wipro,


What is difference between checked and unchecked exception in java?

0 Answers  


If a method is declared as protected, where may the method be accessed in java programming?

0 Answers  


what is tempplate pattern

4 Answers   IBM, RBS,


Explain purpose of sleep() method in java?

0 Answers  


What is difference between null and void?

0 Answers  


Categories