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 static method in Java?

Answers were Sorted based on User's Feedback



How do you use, call, and access a static method in Java?..

Answer / nashiinformaticssolutions

• The static keyword needs to appear before the method name.
• Use the class (className.methodName) to invoke a static method.
• No non-static instance variables or methods can be accessed by static methods.

Is This Answer Correct ?    0 Yes 0 No

How do you use, call, and access a static method in Java?..

Answer / glibwaresoftsolutions

• The static keyword needs to appear before the method name.
• Use the class (className.methodName) to invoke a static method.
• No non-static instance variables or methods can be accessed by static methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is float in java?

0 Answers  


what is custom tags with example?

3 Answers   Amdocs,


What is the use of object and class classes?

0 Answers  


Is singleton class immutable?

0 Answers  


What does null mean in java?

0 Answers  


What is abstract class constructor called?

0 Answers  


Explain a situation where finally block will not be executed?

0 Answers  


How can u increase the heap size in the memory?

0 Answers   Infosys,


What is CardLayout?

1 Answers   Infosys,


what is collatration?

0 Answers  


What is the technique adopted to create an immutable class?

0 Answers  


According to java operator precedence, which operator is considered to be with highest precedence?

0 Answers  


Categories