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 do you use, call, and access a non-static method in Java?

Answer Posted / nashiinformaticssolutions

• The static keyword does not have to appear before the method name.
Like any generic method, call a non-static method.
• Any static variable or method can be accessed by non-static methods without requiring the creation of a class instance.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between transient and volatile in java?

1005


What are the main differences between notify and notifyAll in Java?

1094


Is arraylist zero based?

1073


What is a default constructor and also define copy contrucyor?

1111


What is difference between null and void?

978


Explain enumeration in java?

1013


Explain about exception propagation?

1038


What are identifiers in java?

1129


What causes memory leaks in java?

939


What are checked exceptions?

1036


Can size_t be negative?

1181


What is main in java?

1156


Does java support multiple inheritance or not?

1109


What is the meaning of I ++ in java?

1186


What is the difference between and ?

1018