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 is a package?

Answer Posted / pooja

a package is nothing but a folder in which there are a
collection of classes and interfaces.
of course it is a folder , a folder which is created
explicitly is not a package .
the keyword used for creation of package is "package"
syntax:package <package_name>;
compilation syntax:javac -d path file_name.java;

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 encapsulation in java? Explain

1092


What is the difference between access specifiers and access modifiers in java? 16

976


Do you know why doesn't the java library use a randomized version of quicksort?

941


What are pass by reference and pass by value?

979


Why vector is used in java?

1010


Can java arraylist hold different types?

1050


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.

1979


What is the advantage of functional interface in java 8?

977


Why java uses the concept of the string literal?

1045


Why deletion in linkedlist is fast than arraylist?

1074


Is double bigger than float?

964


What is the full meaning of java?

1028


What is nan in java?

967


How would you convert bytes to string?

965


Can a hashset contain duplicates java?

960