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


Please Help Members By Posting Answers For Below Questions

What is null statement?

633


What is the base class of all exception classes?

675


What is type safety in java?

598


What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?

742


What do you understand by Header linked List?

681






What are the restrictions that are applied to the java static methods?

617


What is the right data type to represent a price in java?

646


What is jee6?

624


Can we call the constructor of a class more than once for an object?

712


What is a parameter in a function?

621


How to change the priority of thread or how to set priority of thread?

651


How do you create an array in java?

625


How many arguments can be passed to main ()?

620


What is collection api?

708


How is a structure different from array ?

680