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

Define "Access specifiers" in java.

0 Answers   HCL,


What do you mean by singleton class in java?

0 Answers  


Explain about main thread in java?

0 Answers  


Is arraylist an object in java?

0 Answers  


Is java still relevant?

0 Answers  


What is the use of arrays tostring () in java?

0 Answers  


Why collection is called framework in java?

0 Answers  


What is the difference between hashmap and hashtable? What is an interface?

0 Answers  


What is the difference between the >> and >>> operators?

1 Answers  


i don't want fullforms of JDK an JVM i want definitions for them

2 Answers  


How will you compute size of a structure?

0 Answers   Amdocs,


What happens when heap memory is full?

0 Answers  


Categories