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 / glibwaresoftsolutions

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

What is defined as false sharing in the context of multithreading?

983


Explain java thread life cycle.

966


What is maximum size of arraylist in java?

957


What is identifier give example?

973


What is the static field modifier?

1062


What is starvation?

1215


What is meant by data hiding/encapsulation?

1043


What is an exception? difference between Checked and Unchecked exception in Java

955


What does \ mean in regex?

1109


What is difference between null and void?

909


What is locale?

980


What is the method to expand and collapse nodes in a jtree?

982


What is meant by inheritance and what are its advantages?

1040


What is exception propagation?

1068


Why arraylist is used in java?

1013