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
Difference between this() and super() ?
What are structs in java?
What is int short for?
Explain polymorphism citing an example.
What are advantages and disadvantages of OOPs?
Explain notify() method of object class ?
What is an off by one error in java?
how we can make a write-only class in java?
State one difference between a template class and class template.
What does snprintf return?
What are methods of a class?
Explain when noclassdeffounderror will be raised ?
What is Gang of four design patterns
Write a program to print fibonacci series up to count 10.
What is regex java?