Is there any need to import java.lang package?
Answer Posted / prashant
In java, by default the java.lang package is imported and
the java.lang.package package is in the java.lang package,so
for that no need to that.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a break statement and a continue statement?
What is use of super keyword?
What are the access modifiers in java?
Why is it called buffering?
What is difference between string and new string?
How many bits is size_t?
Can a class be defined inside an interface?
What if I write static public void instead of public static void in java?
Can you explain the final method modifier?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
What is garbage collection? What is the process that is responsible for doing that in java?
Can we use catch statement for checked exceptions?
What is method overloading with type promotion?
What are the main differences between the java platform and other platforms?
Why are the objects immutable in java?