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 decide when to use arraylist and linkedlist?
Explain creating threads by extending thread class ?
What is package private scope in java?
What is a protected void?
Define a java class.
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
What are the uses of synchronized keyword?
Is minecraft java edition free?
What is Java Shutdown Hook?
What does main method?
What is array command?
What is covariant return type?
What does this () mean in constructor chaining concept?
What are the types of arrays in java?
Java is pass by value or pass by reference? Explain