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 packages and name a few?

Answers were Sorted based on User's Feedback



What are packages and name a few?..

Answer / niranjanravi

packages are separate naming context fora group of classes
and interfaces.It provides a high layer of access
protection and name space management.Theya re also used to
organise related classes and interfaces into a single API
unit and to control the accessibility of these classes and
interfaces.
java.lang,java.lang.Throwable.javax.servlet.java.rmi

Is This Answer Correct ?    1 Yes 0 No

What are packages and name a few?..

Answer / chandrarekha

collection of classes and interfaces which can be reused in
other applications are called packages...
java.lang,java.net,java.awt,java.util,java.io...
user defined packages can also be created
package <name>
//class or interface definitions....
class A
{
....
}
class B
{
...
}

Is This Answer Correct ?    1 Yes 0 No

What are packages and name a few?..

Answer / vijayakumar chinnasamy

Collection of class and interfaces stored under specific
name is called as packages.

eg: ArrayList,Vector,HashTable are class available in the
packahe java.util.

some of the packages are,
java.lang, java.io,
java.util,javax.servlet.http.HttpServlet.. etc.

Is This Answer Correct ?    0 Yes 0 No

What are packages and name a few?..

Answer / puneet

package is just a namespace under which the
classes,interfaces are kept and they on the filesystem where
the application is running are just a folder and maintains
the files anf folders and help us to implement the
inheritance stuff and you can have 2 files with the same
name in two different packages which should clash, you can
call the class with full name packagage1.classname

Note Web-inf folders,Lib folders are not packages.
java.lang, java.util,java.io;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How two different class threads communicate with each other?. send example code.

4 Answers  


Why we use multi threading instead of multiprocessing?

0 Answers  


How to send a request to garbage collector?

4 Answers  


what are the purposes of native, transiant key words?

2 Answers  


why the equals method can be override?when we override the equals method?

5 Answers  


What is the difference between call by reference and call by pointer?

0 Answers  


What is difference between path and classpath in java?

0 Answers  


How will you get the platform dependent values like line separator, path separator, etc., ?

0 Answers  


Why do we need singleton class?

0 Answers  


What is the difference between sop and work instruction?

0 Answers  


What is the purpose of tostring() method in java?

0 Answers  


How to create a base64 decoder in java8?

0 Answers  


Categories