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
What access modifiers can be used for methods?
Is string pool garbage collected?
What are the different types of multitasking?
How to sort numbers in java without array?
What is object cloning in Java?
How much ram can a 64 bit processor theoretically?
What is threaded programming and when is it used? : Java thread
What is a parameter example?
What are the main features of java?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
Can a lock be acquired on a class in java programming?
What is the difference between final, finally and finalize() in java?
Is java free for commercial?
What is the use of join method?
How does multithreading take place on a computer with a single cpu?