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 a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

2357


What is void keyword?

1040


Can you call a method on a null object?

967


Does substring create a new object?

945


What are new features introduced with java 8 ?

932


I want to persist data of objects for later use. What is the best approach to do so?

1000


Are generics important java?

921


What are variable arguments or varargs?

957


How to perform selection sort in java?

955


What is the difference between applet and application?

948


Can substring create new object?

1058


What is java virtual machine and how it is considered in context of java’s platform independent feature?

1105


What is module in oop?

960


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

930


Can sleep() method causes another thread to sleep?

985