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 the purpose of javac exe?

0 Answers  


What is the list interface in java programming?

0 Answers  


How to provide security in java

0 Answers   Infosys, TCS, Tech Mahindra,


When try and catch block is used ?

6 Answers  


How are Observer and Observable used?

3 Answers  


How do you calculate square roots?

0 Answers  


Explain access modifiers in java.

0 Answers  


Difference between Web-based applications,Client- Server applications and Distributed applications?

3 Answers   Infosys,


What is class??

0 Answers   Tech Mahindra,


Which package has light weight components in java programming?

0 Answers  


Can we have two main methods in a java class?

0 Answers  


What is dot operator?

0 Answers  


Categories