what is meant by package in java?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we write any code after throw statement?

609


Why are the methods of the math class static?

580


Can we override private constructor in java?

507


How the metacharacters are different from the ordinary characters?

564


What is the char data type?

523






What is a dot notation?

552


What is data type example?

552


What is volatile keyword in java

647


Explain working of call by reference function invoking.

594


What is java thread dump, how can we get java thread dump of a program?

575


What is native method in java?

567


What are the 2 types of java programs?

565


What is application system?

503


What is the statements?

591


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

590