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 map in java?
Is arraylist zero based?
Give me an example of array and linked list? Where they can be used?
What is command line used for?
What is math floor in java?
Define class?
Is arraylist an object in java?
What is arraylist e?
Write a java program to generate fibonacci series ?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
What an i/o filter in java programming?
Can a class have 2 constructors?
How do you replace a string in java?
What is callablestatement? How you can call stored procedure to pass in parameter?
What are the different types of inner classes?