Is there any need to import java.lang package?
Answer Posted / subha narayan mohapatra
No, we need not to import java.lang package because
java.lang package is the default package for all java files
and it will add automatically in our java file.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Can list be final in java?
How are multiple inheritances done in Java?
Can a source file contain more than one class declaration?
Explain the hierarchy of java exception classes?
Can you sort a list in java?
What is the difference between @before and @beforeclass annotation?
What is a jagged array in java?
What is a variable and constant?
Can we have any code between try and catch blocks?
What is a void method?
How do you escape in java?
What is the use of hashmap in java?
Why string is immutable with example?
Detail discussions on JVM, memory management and garbage collector.
Can we declare an array without size in java?