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 (1722)
 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 (147)
 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 ?    27 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 ?    11 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 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 ?    6 Yes 1 No
Bhuvaneswari Kamaraj
 
Answer
# 5
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
# 6
java language and java util both are built in package.the java util package define a number of useful classes and that are use for working with groups of object. 
Is This Answer Correct ?    0 Yes 0 No
Rashmi
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What are interfaces?   3
what value will be return by the read() method once it reaches the end-of-file? a. Throws EOException b. Return null c. Return -1 d. Read method return nothing, because it is void method   1
Difference between Encapsulation and Abstraction Fidelity 4
Can a class inherit the constructors of its superclass? Wipro 9
what is jndi? TCS 1
Why java is free from garbage values??   4
why interaction with server using javascript is difficult   1
how to use finalize()Method to resources TCS 4
Which is the best way of exception handling? Oracle 2
when System.out.println("") is executed what happens in the back ground?   2
What are File and RandomAccessFile classes?   2
what is collections in java?   4
 
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