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 string in java?

1070


Does java support multiple inheritance or not?

1187


what is the difference between preemptive scheduling and time slicing? : Java thread

1090


What are drawbacks of singleton class?

1007


Can a constructor be private and how are this() and super() method used with constructor?

1047


What is method in research paper?

1208


Can we sort hashmap in java?

992


Can you override private or static method in java?

1034


Should a main method be compulsorily declared in all java classes?

1128


Is void a data type?

990


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?

1293


What is mean by collections in java?

1250


Does java map allow duplicates?

956


Give an example of call be reference significance.

1078


Why is java so important?

1157