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

Which containers may have a MenuBar?

1 Answers  


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

0 Answers  


Can a lock be acquired on a class in java programming?

0 Answers  


Does Java support multiple Inheritance?

12 Answers  


i would like to attend for an interview of datalab technologies company i want to know the pattern of imnterview.

0 Answers  






What is t in parametric equations?

0 Answers  


What is memory leak and how does java handle it?

0 Answers  


What is lifetime variable?

0 Answers  


class A { public void disp(int a,int b) { System.out.println("hai"); } } class B { public void disp(int a,int b,int c) { System.out.println("hai"); } } above program is overloading or overriding?

9 Answers   Infosys, Wipro,


Which is better ascii or unicode?

0 Answers  


What are the concepts of 'OOPS'?

0 Answers   Atos Origin,


What is a nested class?

0 Answers  


Categories