What is Java Package and which package is imported by default?



What is Java Package and which package is imported by default?..

Answer / Mohammad Ubaid

A Java package is a namespace that organizes classes and interfaces to prevent naming conflicts. The default package does not have an explicit package declaration and contains the root directory of the project.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is a flag and how does it work?

1 Answers  


What is an example of a boolean?

1 Answers  


what invokes a threads run() method? : Java thread

1 Answers  


What is difference between iterator access and index access?

1 Answers  


Is 0 an even number?

1 Answers  


What does java stand for?

1 Answers  


What is clipping and repainting and what is the relation between them?

1 Answers  


why using interface interface ?

1 Answers  


What is the difference between abstract class and interface?

3 Answers   Aspire,


What is the maximum size of hashmap in java?

1 Answers  


I have a string like _a01_a02_a03_ and another string like _2_1.5_4_ as input.I want to extract a01,a02... to a string array and 2,1.5,etc to a double array with a01 corresponds to 2 and a02 to 1.5 etc. Need code in core java.. Can you do it?

1 Answers   Cognizant,


What is the ResourceBundle?

2 Answers   Elementus Technologies,


Categories