Answer Posted / 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 |
Post New Answer View All Answers
How do you add an element to a set in java?
What is an infinite loop? How infinite loop is declared?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What is the difference between dom and sax parser in java?
What kind of variables a class can consist of?
What does jre stand for?
How many boolean functions are there?
How does a for loop work?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What mechanism does java use for memory management?
What are abstract methods in java?
Why for each loop is used?
What is a memory leak in java?
How to sort numbers in java without array?
What is default constructors?