ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
what is a package?
 Question Submitted By :: Sai
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is a package?
Answer
# 1
The package is a Java namespace or part of Java libraries. 
The Java API is grouped into libraries of related classes 
and interfaces; these libraries are known as packages.
You can create your own packages to bind all ur classes at 
one place.
 
Is This Answer Correct ?    0 Yes 0 No
Kavitha
 
  Re: what is a package?
Answer
# 2
Package in java is a collection of classes and interfaces 
that can be reused in any application or applet.
 
Is This Answer Correct ?    0 Yes 0 No
Chandra Rekha
 
 
 
  Re: what is a package?
Answer
# 3
Java provides a mechanism for partitioning the class name 
space into more manageable chunks. This mechanism is the 
PACKAGE.
 
Is This Answer Correct ?    0 Yes 0 No
Sudhakar
 
  Re: what is a package?
Answer
# 4
A Package is a collection of Classes Interfaces that 
provides a high-level layer of access protection and name 
space management.
 
Is This Answer Correct ?    0 Yes 0 No
Mahipal Reddy.kaitha,hyd
 
  Re: what is a package?
Answer
# 5
Hi...
 A package is nothing but collections of classes and 
interfaces.
example:java.lang,java.util,java.applet,java.awt,java.net,ja
va.io etc...
 
Is This Answer Correct ?    0 Yes 0 No
Devarathnam C,kotagudibanda(po
 
  Re: what is a package?
Answer
# 6
package defines a name space for members and methods inside 
a class
 
Is This Answer Correct ?    0 Yes 0 No
Ravikiran
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is mean by overriding in which situation we wil use? Atlas-Systems4
what is request dispatcher and how does it work? CTS1
What is the difference between the >> and >>> operators?  1
public class AboutStrings{ public static void main(String args[]){ String s1="hello"; String s2="hel"; String s3="lo"; String s4=s2+s3; //to know the hash codes of s1,s4. System.out.println(s1.hashCode()); System.out.println(s4.hashCode()); // these two s1 and s4 are having same hashcodes. if(s1==s4){ System.out.println("s1 and s4 are same."); }else System.out.println("s1 and s4 are not same."); } } Somebody told me that, == operator compares references of the objects. In the above example even though s1 and s4 are refering to same object(having same hash codes), it is printing s1 and s4 are not same. Can anybody explain in detail why it is behaving like this? Thanks in Advance RavuriVinod TCS3
what are the purposes of native, transiant key words?  2
Explain about vector, dictionary,hash table, property classes? Patni1
Can we access private data outside of the class directly in java programming language? Why There is no runtime checking in java, which leads to access the private data directly outside of a class? Google1
What is the return type of a program?s main() method?  2
What are field variable and local variable?  2
What is the difference between serialization and deserialization?  2
where u use Abstraction and Interface in real time Sonata2
What is "finally" keyword?  3
Which containers use a FlowLayout as their default layout?  3
Life Cycle of Thread IBM2
Explain Public static void main?  2
What happens if an exception is not caught?  4
Explain the difference between the Boolean & operator and the && operator?  1
What is the purpose of finalization?  3
How are commas used in the initialization and iteration parts of a for statement?  2
What is the default initialized value of a boolean type variable?  3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com