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

When is the garbage collection used in Java?

1127


What is substring in java?

1127


How do you declare an array that will hold more than 64KB of data?

1190


What is equlas() and hashcode() contract in java? Where does it used?

1052


How the interruptible method gets implemented?

913


What does the “static” keyword mean? Can you override private or static method in java?

1038


Is it possible to specify multiple jndi names when deploying an ejb?

938


How do you escape sequences in java?

1006


What is flush buffer?

968


What is floating data type?

917


what is collatration?

3233


What is the purpose of main function in java?

970


What are the Class Libraries ?

999


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

1542


What do negative exponents mean?

964