• Welcome to NamesLot.com Domain Name Forum

    NamesLot.com Domain Name Forum offers a fully open forum to discuss domain industry news and a 0% commission marketplace for you to buy and sell domain names.

    We have reorganized our Marketplace so now it is easier to get attention to your domain while it is also easier for buyers to find the right domain name.

    If you want us to add more threads to our marketplace, please contact us! Listing on our marketplace as always, 100% free! Register NOW or Login HERE!

What is a Static Method?

beingchinmay

New Member

  • Static methods show have static keyword as the method definition
    Static methods are accessed without creating an instance of the class object
    Static methods will not have “this” functionality to access the method
    Static methods cannot access non static members of the class.undefined
 
In Java, static denotes class methods and class variables (as opposed to instance methods and instance variables). These methods and variables can be accessed without an instance present. Contrast this to instance methods and instance variables: they must be accessed through an object.
 

Members online

No members online now.

Forum statistics

Threads
20,433
Messages
70,435
Members
44,653
Latest member
smsdeals5
Active members today
2
New members today
0
New threads today
18
New posts today
18

Follow NamesLot on Twitter!

NamesLot proudly supported by

NamesLot proudly supported by

Top