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 are facelets templates?

615


How garbage collection is done in java?

559


What is ‘has a’’ relationship in java?

738


Are there structures in java?

564


What is logical variable?

522






Explain super keyword in java.

595


Do you know how to reverse string in java?

593


What is the difference between a break statement and a continue statement?

605


What about abstract classes in java?

619


Does chrome use java?

527


What is the maximum size of a string in java?

557


is there a separate stack for each thread in java? : Java thread

544


What are the types of methodology?

520


How to do encapsulation in java?

580


Difference between stack and queue?

597