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

How do I write a self declaration?

0 Answers  


what is difference between validation.xml & validation rules.xml?

8 Answers   BirlaSoft,


Does hashset allow duplicates in java?

0 Answers  


What are dot operator queries?

0 Answers   Atos Origin,


class a extends b { } class b extends a { } why java doesn't support cyclic pls explain me with example

3 Answers   Wipro,


What is qms certification?

0 Answers  


what is filters and its use?

2 Answers   Virtusa,


What is public/private protected in java?

0 Answers  


what is Thread?

6 Answers  


explain about jre and jvm

2 Answers  


What are different access specifiers in java? Explain

0 Answers  


C and C++ has constructors and distructors, why does Java does not have distructors?

1 Answers   T3 Softwares,


Categories