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 are annotations in java?
What is the use of default method in interface in java? Explain
What are peerless components?
What is a functional interface?
What is a char in java?
how do I create a runnable with inheritance? : Java thread
How do you remove spaces in java?
Explain notifyall() method of object class ?
What are the important features of Java 10 release?
What are the 4 types of research methods?
How do you define a method?
What are the types of casting?
How will you communicate between two applets?
Explain scope or life time of local variables in java?
If you do not want your class to be inherited by any other class. What would you do?