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 string in java?
Does java support multiple inheritance or not?
what is the difference between preemptive scheduling and time slicing? : Java thread
What are drawbacks of singleton class?
Can a constructor be private and how are this() and super() method used with constructor?
What is method in research paper?
Can we sort hashmap in java?
Can you override private or static method in java?
Should a main method be compulsorily declared in all java classes?
Is void a data type?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What is mean by collections in java?
Does java map allow duplicates?
Give an example of call be reference significance.
Why is java so important?