Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the advantages of packages in java?

Answer Posted / glibwaresoftsolutions

The benefits of defining packages in Java are numerous.

Name conflicts are avoided by packages.
The package makes access control simpler.

Additionally, we can have hidden classes that are utilized by the package but are not visible from the outside.
The linked classes are easy to find.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are thread groups?

929


What do you mean by compiler?

983


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

922


How would you use Bubble Sort to sort the number of elements?

949


Differentiate storage classes on the basis of their scope?

1110


Why can't we make a class private in java?

974


What are thread local variables?

1048


What is the applet security manager, and what does it provide?

943


Define "Access specifiers" in java.

1120


what do you mean by classloader?

1019


Differentiate jar and war files?

977


What are class members by default?

1020


What is the difference between jdk, jre, and jvm?

1031


How use .contains in java?

1119


Explain what is Marker interface?

1033