How do you use, call, and access a static method in Java?
Answers were Sorted based on User's Feedback
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 |
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 |
How is abstraction implemented in java ?
Which java.util classes and interfaces support event handling?
What is charat java?
What is double word?
which one the better thread emplemented thread or extended ?
Explain about map interface in java?
What are the steps to do connection pooling in weblogic?
what is check p object in java
Can we call thread start () twice?
What do you understand by the bean persistent property?
What are memory tables?
When will we use them?