Is there any need to import java.lang package?

Answer Posted / navneet raushan

Yes, When u will use reflection package then u will have to
import java.lang package.

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of protected in java?

530


What will happen when using pass by reference in java?

514


How do you check if a string contains only numeric digits?

610


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

2228


Explain JMS in detail.

610






What is the common usage of serialization? What exceptions occur during serialization?

598


Is there a way to increase the size of an array after its declaration?

596


How do you use compareto method?

525


What is an object's lock and which object's have locks in java programming?

563


What are the differences between c++ and java?

575


Is null or empty java?

529


What kind of variables can a class consist?

581


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

827


What is the major drawback of internal iteration over external iteration?

582


How to sort an unsorted array in java?

606