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

Explain the difference between association, aggregation and inheritance relationships.

793


Can an object be null?

724


What is serial version uid and its importance in java?

792


What sorting algorithm does javascript use?

745


Can constructor return value?

721


What is hashing principle in java?

766


Can we use string in switch case in java?

784


What is java argument list?

688


What is the significance of listiterator?

746


What is the size of int?

836


Where are local variables stored?

706


How will you reverse a link list without using recursion?

773


Can we override constructors in java?

840


Is Java a dying language?

789


What is a function in java?

753