Answer Posted / bijoy baby
if we use static import we can access static methods and
static objects without the reference of class name. But one
disadvantage is u cant know the method or object is from
which class.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the lifetime and scope of a variable?
how to convert Java project into Maven ?
What are the 8 primitive data types in java?
Using callable statement how can you pass out parameters, explain with example?
Does collectionutils isempty check for null?
What are static blocks and static initalizers in java ?
How does map works in java?
What are user defined exceptions?
What is difference between path and classpath in java?
Give reasons supporting that string is immutable.
What are the types of literals?
What is a flag value?
What is a void in java?
You're given a Boolean 2D matrix, can you find the number of islands?
What is the difference between a static and a non-static inner class in java programming?