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
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What is java oops?
Can arraylist contain null values?
Difference between method overloading and method overriding in java ?
What does localhost mean?
What is the benefit of abstract class?
What is meant by object oriented programming – oop?
Difference between stack and queue?
Define nashorn in java8.
Explain treeset?
Does hashset allow duplicates in java?
What is the use of math abs in java?
How to sort a collection of custom Objects in Java?
Can a private method be declared as static?
How do I stop concurrentmodificationexception?