what is meant by package in java?

Answers were Sorted based on User's Feedback



what is meant by package in java?..

Answer / thamarai selvi

Package is the java mechanism for grouping the classes..

Is This Answer Correct ?    20 Yes 2 No

what is meant by package in java?..

Answer / ilavarasi

1.A package is a grouping of related types providing access
protection and name space management.
2.The types refers to classes, interfaces, enumerations,
and annotation types.
3.Enumerations and annotation types are special kinds of
classes and interfaces, respectively.

Is This Answer Correct ?    15 Yes 3 No

what is meant by package in java?..

Answer / manoj kumar sahu(secon pvt.ltd

Package is nothing but it can be call as container of all
related class.All *.class files are stored in a package for
that we can implement the require *.class files in our
program.In java one package can be implement by using the
keyword import.The syntex is
import java.<packagename>.*;

Is This Answer Correct ?    5 Yes 1 No

what is meant by package in java?..

Answer / raja qaiser

package is container which contain difference classes,using
package we use functions of different classes.

Is This Answer Correct ?    3 Yes 0 No

what is meant by package in java?..

Answer / sonali

package is collection of classes and interfaces, that
provides a high level layer of access protection and nams
space mgt. Also it is a way of grouping of variety of
classes and interfaces together.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

How many characters is 2 bytes?

0 Answers  


How many types of classes are there in java?

0 Answers  


What exactly is java?

0 Answers  


Can we extend a class with private constructor?

0 Answers  


what is object-oriented programming in java?

0 Answers   Reliance,


List out five keywords related to exception handling ?

0 Answers  


What is a variable declaration?

0 Answers  


Is break statement can be used as labels in java?

0 Answers  


What does regex mean?

0 Answers  


What is a prefix function.write down a code to compute prefix function.

0 Answers  


What is classname class in java?

0 Answers  


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

0 Answers  


Categories