Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the use of static import ?

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


Please Help Members By Posting Answers For Below Questions

what is the constructor and how many types of constructors are used in java?

1002


How do you reverse sort in java?

943


How do you declare an array in java?

1056


How do you control extraneous variables?

914


What are the important features of Java 8 release?

1082


What are the object and class classes used for?

1040


How to make a non daemon thread as daemon?

1056


Define an abstract class with reference to java.

995


Discuss 2D arrays.

1046


What is difference between printf and scanf?

1150


What are the four versions of java?

1014


Can a function return a function?

1033


Can substring create new object?

1122


What are classloaders?

1017


Is null a string in java?

1068