what is the meaning of java.lang and java.util

Answers were Sorted based on User's Feedback



what is the meaning of java.lang and java.util..

Answer / nimish

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 ?    50 Yes 12 No

what is the meaning of java.lang and java.util..

Answer / bhuvaneswari kamaraj

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 ?    21 Yes 7 No

what is the meaning of java.lang and java.util..

Answer / kartik kudada

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 ?    16 Yes 5 No

what is the meaning of java.lang and java.util..

Answer / babloo jha

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 ?    17 Yes 9 No

what is the meaning of java.lang and java.util..

Answer / seeli louis

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 ?    14 Yes 8 No

what is the meaning of java.lang and java.util..

Answer / rashmi

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 ?    4 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is use of functional interface in java 8? Explain

0 Answers  


Which java version is latest?

0 Answers  


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

0 Answers  


Is it possible to compare various strings with the help of == operator?

0 Answers  


Hi Friends, can you explain instance in java. In general instance means "occurence of something" . In java what is instance.

4 Answers  






Give an example of use of pointers in java class.

0 Answers  


How can a class be accessed, If no access modifiers are declared?

4 Answers  


explain System.out.println()

12 Answers   CTS,


When abstract methods are used?

1 Answers  


How can you reverse a string?

8 Answers  


make a method which any number and any type of argument and print sum of that arguments.....

0 Answers  


Is it possible to override the main method?

0 Answers  


Categories