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 the difference between applet and application?

1006


Why does java have different data types for integers and floating-point values?

999


What is constructor and virtual function? Can we call a virtual function in a constructor?

1133


Explain working of call by reference function invoking.

1016


Is an integer an object?

954


What is meant by singleton class?

1029


How do you clear an arraylist in java?

976


define polymorphism in java

1083


What is the independent variable in an experiment?

957


If you are given the name of the function at run time how will you invoke the function?

1127


What is singleton pattern?

1092


Is 9 a prime number?

884


How many bits is a 64 bit byte?

1068


What is string english?

1009


What is a return in java?

1024