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 (1720)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (43)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (195)
 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 (145)
 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 :: Utkal
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the meaning of java.lang and java.util
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 ?    25 Yes 6 No
Nimish
 
  Re: what is the meaning of java.lang and java.util
Answer
# 2
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 ?    8 Yes 6 No
Seeli Louis
 
 
 
  Re: what is the meaning of java.lang and java.util
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
 
  Re: what is the meaning of java.lang and java.util
Answer
# 4
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 ?    7 Yes 2 No
Babloo Jha
 
  Re: what is the meaning of java.lang and java.util
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
 
To set the position and size of a component, which methods are used?   3
What are Encapsulation, Polymorphism and Inheritance?   5
Can there be an abstract class with no abstract methods in it?   1
What is the superclass of exception?   3
What is the difference between Access Modifier and Access specifier?   1
What is meant by throwing an Exception? Accenture 4
Distinguish method overloading and method overriding Tech-Mahindra 4
Which of the following can be referenced by a variable? A. The instance variables of a class only B. The methods of a class only C. The instance variables and methods of a class   2
String Reverse in Java...!   5
What is the difference between pageContext and page implicit objects in jsp? Merrill-Lynch 7
can abstract class have constructor how can you achive this ? Fidelity 4
how session will be expired? Infosys 5
 
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