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 visibility mode?
What is the point of polymorphism java?
What are the types of web technologies?
Give few difference between constructor and method?
What are internal variables?
What is udp in java?
What is a boolean field?
Name component subclasses that support painting in java programming?
How do you define a method?
What are the two parts of a conditional statement?
What is object class in java?
Why do we need data structure in java?
State two differences between C and Java.
How do you square a number?
What is java objectoutputstream?