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 lifetime and scope of a variable?

1017


how to convert Java project into Maven ?

1055


What are the 8 primitive data types in java?

1019


Using callable statement how can you pass out parameters, explain with example?

1229


Does collectionutils isempty check for null?

1424


What are static blocks and static initalizers in java ?

1079


How does map works in java?

999


What are user defined exceptions?

1049


What is difference between path and classpath in java?

1023


Give reasons supporting that string is immutable.

942


What are the types of literals?

1187


What is a flag value?

1026


What is a void in java?

1170


You're given a Boolean 2D matrix, can you find the number of islands?

1108


What is the difference between a static and a non-static inner class in java programming?

1072