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 boolean data type in java?
Why do we declare a class static?
What is array sorting in java?
Explain the private field modifier?
State differences between C and Java?
Describe what a thread-local variable is in java?
What is an error in java?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
What is the function of java?
What is the exact difference in between Unicast and Multicast object?
What is object english?
What is unicode with example?
What is difference between hashset and hashmap in java?
What about method local inner classes or local inner classes in java?
What does || || mean in math?