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...

How to call static method?

Answer Posted / ranganathkini

A static method may be called in 2 ways:

1. Thru the class reference
2. Thru the instance reference of the class

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a condition in programming?

957


What is abstraction in java?

1023


What is a double?

1036


What is the purpose of the enableevents() method in java programming?

1077


What are different types of arrays?

952


What are the various access specifiers for java classes?

999


When object is created and destroyed?

1034


What is the purpose of the wait(), notify(), and notifyall() methods in java programming?

997


How do you control extraneous variables?

853


How to split a string in java?

1065


When to use runnable interface vs thread class in java?

930


Will the jvm load the package twice at runtime?

1040


What about interthread communication and how it takes place in java?

990


What is use of arraylist in java?

1097


If try block is successfully executed, Then Is Finally block executed?

1036