Is there any need to import java.lang package?
Answer Posted / thomman yacob
The above example , imported package is not java.lang package.
Thats is another package java.lang.reflect.*;
Both packages are different. Do not get confused.
The below classes are available with Java.Lang.*;
Boolean,Enum,System,Object,Class,ClassLoader,Float ..ect.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the purpose of the enableevents() method?
What is the do while loop syntax?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
What is the purpose of file class?
What is ellipsis in java?
how is final different from finally and finalize in java?
define polymorphism in java
Write a program based on Java script program.
explain local datetime api in java8?
Explain Basics of OOP Language in java
What is constant in programming?
Tell me how many ways are there to initialise an integer with a constant.
What are assembly attributes?
What is the purpose of garbage collection in java, and when is it used?
What is hash code collision?