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

Answer Posted / seeli louis

java.lang is default package contains some fundamendal
classes for java language. For example it contains classes
like ClassLoader , Class and System . JVM loads tha class
file using this ClassLoader ... so its automatically
imported by jvm also known as default package.java.util
contains all the utility classes needed

Is This Answer Correct ?    14 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between variable & constant?

747


Why do we declare a class static?

742


How do generics work in java?

688


What is a modifier?

1148


What does system.gc() and runtime.gc() methods do?

807


Explain an intermediate language?

700


What do you mean by platform independence? What is an interface?

777


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

761


Print Vertical traversal of a Binary Tree.

792


What is java util?

774


What will happen if a thrown exception is not handled?

744


What are the 4 versions of java?

841


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

751


What is the difference between ArrayList and Vector? which one is better in Java

815


How do you trim a space in java?

710