ALLInterview.com :: Home Page            
 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  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Java Related >> Java J2EE >> Core Java
 
 


 

 
 Core Java interview questions  Core Java Interview Questions (1721)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (146)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
Question
what is the meaning of java.lang and java.util
 Question Submitted By :: Core-Java
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
java.lang and java.util are built in packages that contains
classes that we use in the program eg.java.lang contains
classes System,String,StringBuffer etc.and java.util
contains Date etc.
 
Is This Answer Correct ?    26 Yes 6 No
Nimish
 
Answer
# 2
Actually util stands
dere for utility n dese
r packages dat r
predfined classes in
java language n used
in programs just lyk
dere r some
predefined header files
in c.
 
Is This Answer Correct ?    8 Yes 2 No
Babloo Jha
 
 
 
Answer
# 3
There is no need to import java.lang package, it implicitly
available to java file whereas it is mandatory to import
java.util explicitly .
 
Is This Answer Correct ?    7 Yes 2 No
Kartik Kudada
 
Answer
# 4
java.lang is default package contains some fundamendal
classes for java language. For example it contains classes
like ClassLoader , Class and System . JVM loads tha class
file using this ClassLoader ... so its automatically
imported by jvm also known as default package.java.util
contains all the utility classes needed
 
Is This Answer Correct ?    10 Yes 6 No
Seeli Louis
 
Answer
# 5
java.lang is a package which contains the classes like
System, String, String Buffer etc., This package doesnt
have to be explicitly imported as they are imported by
default.
Whereas Java.Util is a package which contains classes like
Date, Vector, Dictionary, hashtable etc., This has to be
imported everytime you use it in your program
 
Is This Answer Correct ?    5 Yes 1 No
Bhuvaneswari Kamaraj
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Is 'null' a keyword?   8
How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?   5
Explain Connection Pooling?   3
what is the diffrences between platform independent and portable TCS 4
Why java is not a pure object oriented language? IBM 5
How HashMap implemented in java? how it internally works when values are added or searched from hashMap?What is the difference betweenthe implementation of hashmap and Linked Hashmap? IBM 3
What will happen if we cannot mention "finally" in Java Program ??? PWC 3
What is static and a non-static inner class?   3
In which way does a Primitive data type is passed ? Sun-Microsystems 5
define System.out.println(); what is the meaning!   19
When finalize method is called?   3
While opening the file, what type of exceptions can be caught?   3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com