what is the meaning of java.lang and java.util

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


Please Help Members By Posting Answers For Below Questions

What do you mean by collectors in java 8?

546


What do you mean by of string::valueof expression in java 8?

551


What is math in java?

574


What is ternary operator?

574


What is mysql driver class name?

558






What is the null?

547


What is the function of character?

534


String class is defined under which package in java?

631


What is covariant return type?

649


What does snprintf return?

558


Why do we need array in java?

540


Can a final variable be null?

558


Is final static java?

553


Why do I need to declare the type of a variable in java?

570


What is application tier?

536