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 / hr@tgksolutions.com

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 is difference between throw and throws ?

1078


What are the basic control structures?

922


Are arrays passed by reference in java?

876


What is the difference between a synchronized method and a synchronized block?

1014


Explain jdk, jre and jvm?

909


Write a program to print the pattern given below

885


Can static methods be inherited?

982


What is the default size of arraylist in java?

1009


What is the use of hashmap in java?

1022


How would overload a function based on return type?

915


What is method overloading in java ?

1026


Explain the JDB in depth & command line.

958


What do you mean by access modifier?

966


How static variable work in java?

1053


what is enumset?

1041