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 double data type?
Does java support multiple inheritances?
What is dynamic binding(late binding)?
What are autoboxing and unboxing? When does it occur?
How do you execute a thread in java?
Define inheritance?
Can java list contain duplicates?
Can a class be protected in java?
What is the best way to findout the time/memory consuming process?
What is data movement?
How to sort an array from smallest to largest java?
What is exception handling in java?
What is the difference between a factory and abstract factory pattern?
What is java beans?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea