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 a main method be declared final?
Is null an object java?
What is difference between variable declaration and definition?
What is difference between checked and unchecked exception in java?
What is Java Shutdown Hook?
Can a class extend 2 classes in java?
Why we do exception handling in java and how many types of exceptions are there?
Can a class be a super class and a sub-class at the same time? Give example.
What is meant by local variable and instance variable?
How do generics work?
What are the differences between the constructors and methods?
Is arraylist sorted in java?
What is Java Annotations?
What is the difference between Java and C++?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?