What is package in java ?
Answer : Java provide functionality to organize classes and interfaces in a package that is nothing but namespace. Example can be thinking about if you are working in window operating system you organize you file inside the fodder and you can create sub-folder inside folder as well. Java API also consists of thousands of classes and interface and to keep thing organize in proper place that is called Package. So that searching indexing would be easier.