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

Which package has light weight components in java programming?

0 Answers  


How is rounding performed under integer division?

2 Answers   Satyam,


How to calculate the length of a singly linked list in java?

0 Answers  


What is a two-pass assembler?

0 Answers   Syntel, Visa,


is java support call by reference and call by value, if supports please explain?

5 Answers  


what is a static block?

4 Answers  


What are the types of web technologies?

0 Answers  


Explain the difference between an object-oriented programming language and object-based programming language?

0 Answers  


What does java ide mean?

0 Answers  


What are recursive functions? Give some examples?

0 Answers   Axtria, ITC Indian Tobacco Company,


what is meaning of JIT?

4 Answers  


What are the access modifiers available in java?

0 Answers  


Categories