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

can used Protected Class outside Function.?

1102


What is isa relationship?

1055


what is a green thread? : Java thread

1021


What is java virtual machine and how it is considered in context of java’s platform independent feature?

1173


What is the program development process?

973


What is flush buffer?

1050


Describe what happens when an object is created in java ?

1008


What is byte [] in java?

1015


Can you override static methods?

993


What is difference between an object and a class?

1126


In the below example, how many string objects are created?

1047


How do you compare characters in java?

989


What is a consumer in java?

1015


What do you mean by synchronized non access modifier?

997


Is object a data type?

963