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
When do we use hashset over treeset?
What is double checked locking in singleton?
What is lazy programming?
Can we use static class instead of singleton?
What is the main method java?
What is java life cycle?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
List the features of java programming language.
What is the argument in java?
What is the applet security manager, and what does it provide?
What is meant by local variable and instance variable?
What is lazy initialization in java?
Explain the difference between extends thread vs implements runnable in java?
Is set ordered in java?
What are advantages and disadvantages of OOPs?