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 constructor and how many types of constructors are used in java?
How do you reverse sort in java?
How do you declare an array in java?
How do you control extraneous variables?
What are the important features of Java 8 release?
What are the object and class classes used for?
How to make a non daemon thread as daemon?
Define an abstract class with reference to java.
Discuss 2D arrays.
What is difference between printf and scanf?
What are the four versions of java?
Can a function return a function?
Can substring create new object?
What are classloaders?
Is null a string in java?