what is meant by package in java?
Answers were Sorted based on User's Feedback
Answer / thamarai selvi
Package is the java mechanism for grouping the classes..
| Is This Answer Correct ? | 20 Yes | 2 No |
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 |
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 |
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 |
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 |
What is application tier?
What does java edition mean?
which one is performance wise advantageious from List,Set,Map?
What are the different data types in java?
class{ ... ... interface myinterface{ ... ... } abstract class{ .. .. } ... .. .. } is this possible to write "Interface and/ or Abstract class inside a class ? if possible whcich one is possible is only interface? is only abstract?
How do I start learning java?
What is private static class in java?
Can we write method inside a method in java?
How Applets & Servlets will communicate with each other?
What is identifier in java?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
Can we access the non-final local variable, inside the local inner class?