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

How will you serialize a singleton class without violating singleton pattern?

1943


What does \ mean in regex?

1185


How do you implement polymorphism in our day to day life?

3216


What are the disadvantages of object oriented programming?

1241


What are parsers? Dom vs sax parser.

1021


What do you understand by private, protected and public?

1027


How many bits is a word?

986


What is a singleton class? Give a practical example of its usage.

1085


What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

1031


Are arrays passed by reference in java?

902


Explain java coding standards for classes or java coding conventions for classes?

1108


What are the parts of methodology?

960


What is difference between arraylist and list in java?

1074


Is main a keyword in java?

942


what is synchronization and why is it important? : Java thread

1068