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
Where is jre installed?
Difference between java and javascript
Can a constructor have different name than a class name in java?
Is list thread safe in java?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
What is the difference between a method and a procedure?
Define iterator and methods in iterator?
What is the purpose of garbage collection in java, and when is it used?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
What is the purpose of stub and skeleton?
When is the finalize() called?
What is the primary benefit of encapsulation?
Why do we use string?
What is functional interface in javatpoint?
Explain what pure virtual function is?