Is there any need to import java.lang package?
Answer Posted / ashish
java.lang package is automatically loaded by JVM so no need
to define it by own.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How do constructors use this() and super()?
How do you write a good declaration?
What is the method overriding?
What is static in java?
How to find the largest value from the given array.
How do you use find and replace?
What is identifier with example?
How do you delete a list in java?
What is busy spin, and why should you use it?
What about instanceof operator in java?
What is the default value of an object reference declared as an instance variable?
Explain inheritance in java?
What is the purpose of garbage collection in java? When is it used?
Are floats faster than doubles?
How do you find the maximum number from an array without comparing and sorting?